Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Remove search from disabled PWI state (#4723)

authored by

Eric Bailey and committed by
GitHub
cacc4c50 14c2d75d

+6 -1
+6 -1
src/view/com/auth/LoggedOut.tsx
··· 17 17 } from '#/state/shell/logged-out' 18 18 import {useSetMinimalShellMode} from '#/state/shell/minimal-mode' 19 19 import {NavigationProp} from 'lib/routes/types' 20 + import {useGate} from 'lib/statsig/statsig' 20 21 import {ErrorBoundary} from '#/view/com/util/ErrorBoundary' 21 22 import {Text} from '#/view/com/util/text/Text' 22 23 import {Login} from '#/screens/Login' ··· 52 53 }) 53 54 const {clearRequestedAccount} = useLoggedOutViewControls() 54 55 const navigation = useNavigation<NavigationProp>() 56 + const gate = useGate() 55 57 56 58 const isFirstScreen = screenState === ScreenState.S_LoginOrCreateAccount 57 59 React.useEffect(() => { ··· 96 98 }} 97 99 /> 98 100 </Pressable> 99 - ) : isNative && !hasSession && isFirstScreen ? ( 101 + ) : isNative && 102 + !hasSession && 103 + isFirstScreen && 104 + !gate('native_pwi_disabled') ? ( 100 105 <Pressable 101 106 accessibilityHint={_(msg`Search for users`)} 102 107 accessibilityLabel={_(msg`Search for users`)}