Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

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

close loggedout view when logging in (#4154)

authored by

Samuel Newman and committed by
GitHub
7334e9fd e5a14729

+3
+3
src/screens/Login/LoginForm.tsx
··· 19 19 import {createFullHandle} from '#/lib/strings/handles' 20 20 import {logger} from '#/logger' 21 21 import {useSessionApi} from '#/state/session' 22 + import {useLoggedOutViewControls} from '#/state/shell/logged-out' 22 23 import {useRequestNotificationsPermission} from 'lib/notifications/notifications' 23 24 import {atoms as a, useTheme} from '#/alf' 24 25 import {Button, ButtonIcon, ButtonText} from '#/components/Button' ··· 67 68 const {_} = useLingui() 68 69 const {login} = useSessionApi() 69 70 const requestNotificationsPermission = useRequestNotificationsPermission() 71 + const {setShowLoggedOut} = useLoggedOutViewControls() 70 72 71 73 const onPressSelectService = React.useCallback(() => { 72 74 Keyboard.dismiss() ··· 113 115 }, 114 116 'LoginForm', 115 117 ) 118 + setShowLoggedOut(false) 116 119 requestNotificationsPermission('Login') 117 120 } catch (e: any) { 118 121 const errMsg = e.toString()