diff options
author | Eric Bailey <git@esb.lol> | 2025-08-26 09:54:19 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-26 09:54:19 -0500 |
commit | df20ae237eaf434c6ed0fd032f8328cd9b8c352c (patch) | |
tree | eecd070cf125acc908b1137a569aa369fe5fc436 /src/view/screens/PostThread.tsx | |
parent | e91a6838101c9566ce2dafaa6fe8c77293a5eba6 (diff) | |
download | voidsky-df20ae237eaf434c6ed0fd032f8328cd9b8c352c.tar.zst |
Threads v2 cleanup (#8902)
* Delete root PostThread component * Remove PostThreadItem, migrate DebugMod to use new components * Remove other unused components * Move PostThreadFollowBtn to new home * Move PostThreadComposePrompt to new home * Remove gate * Keep naming in DebugMod * rm v1 prefs --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>
Diffstat (limited to 'src/view/screens/PostThread.tsx')
-rw-r--r-- | src/view/screens/PostThread.tsx | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/view/screens/PostThread.tsx b/src/view/screens/PostThread.tsx index cc611e0d6..f07c971fb 100644 --- a/src/view/screens/PostThread.tsx +++ b/src/view/screens/PostThread.tsx @@ -5,17 +5,14 @@ import { type CommonNavigatorParams, type NativeStackScreenProps, } from '#/lib/routes/types' -import {useGate} from '#/lib/statsig/statsig' import {makeRecordUri} from '#/lib/strings/url-helpers' import {useSetMinimalShellMode} from '#/state/shell' -import {PostThread as PostThreadComponent} from '#/view/com/post-thread/PostThread' import {PostThread} from '#/screens/PostThread' import * as Layout from '#/components/Layout' type Props = NativeStackScreenProps<CommonNavigatorParams, 'PostThread'> export function PostThreadScreen({route}: Props) { const setMinimalShellMode = useSetMinimalShellMode() - const gate = useGate() const {name, rkey} = route.params const uri = makeRecordUri(name, 'app.bsky.feed.post', rkey) @@ -28,11 +25,7 @@ export function PostThreadScreen({route}: Props) { return ( <Layout.Screen testID="postThreadScreen"> - {gate('post_threads_v2_unspecced') || __DEV__ ? ( - <PostThread uri={uri} /> - ) : ( - <PostThreadComponent uri={uri} /> - )} + <PostThread uri={uri} /> </Layout.Screen> ) } |