diff options
author | Frudrax Cheng <i@cynosura.one> | 2024-06-19 14:41:03 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-19 14:41:03 +0800 |
commit | bdc1ea897fa4e1a2bb0fbd405564e98aca36f973 (patch) | |
tree | a412067a09e0c34d7d83496842ebd0e0e57f4b9d /src/view/com/post-thread/PostThread.tsx | |
parent | a6d49062e6d50b7c9a6c0d50c38fcfeb8f63e46f (diff) | |
parent | 8788708bd229ee8a7049285b2e520cc657b41c00 (diff) | |
download | voidsky-bdc1ea897fa4e1a2bb0fbd405564e98aca36f973.tar.zst |
Merge branch 'bluesky-social:main' into zh
Diffstat (limited to 'src/view/com/post-thread/PostThread.tsx')
-rw-r--r-- | src/view/com/post-thread/PostThread.tsx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/view/com/post-thread/PostThread.tsx b/src/view/com/post-thread/PostThread.tsx index 8061eb11c..a6c1a4648 100644 --- a/src/view/com/post-thread/PostThread.tsx +++ b/src/view/com/post-thread/PostThread.tsx @@ -331,7 +331,11 @@ export function PostThread({ <PostThreadShowHiddenReplies type={item === SHOW_HIDDEN_REPLIES ? 'hidden' : 'muted'} onPress={() => - setHiddenRepliesState(HiddenRepliesState.ShowAndOverridePostHider) + setHiddenRepliesState( + item === SHOW_HIDDEN_REPLIES + ? HiddenRepliesState.Show + : HiddenRepliesState.ShowAndOverridePostHider, + ) } hideTopBorder={index === 0} /> |