remove more enable hooks

This commit is contained in:
Samuel Newman
2025-12-29 18:09:10 +02:00
parent 04cb3eb54c
commit 5d0203842a
2 changed files with 0 additions and 6 deletions
-3
View File
@@ -4,7 +4,6 @@ import {msg} from '@lingui/macro'
import {useLingui} from '@lingui/react' import {useLingui} from '@lingui/react'
import {usePreventRemove} from '@react-navigation/native' import {usePreventRemove} from '@react-navigation/native'
import {useEnableKeyboardControllerScreen} from '#/lib/hooks/useEnableKeyboardController'
import { import {
type AllNavigatorParams, type AllNavigatorParams,
type NativeStackScreenProps, type NativeStackScreenProps,
@@ -37,8 +36,6 @@ export function FindContactsFlowScreen({navigation}: Props) {
}) })
}) })
useEnableKeyboardControllerScreen(true)
const setMinimalShellMode = useSetMinimalShellMode() const setMinimalShellMode = useSetMinimalShellMode()
const effect = useCallback(() => { const effect = useCallback(() => {
setMinimalShellMode(true) setMinimalShellMode(true)
-3
View File
@@ -2,7 +2,6 @@ import {useMemo, useReducer} from 'react'
import {View} from 'react-native' import {View} from 'react-native'
import * as bcp47Match from 'bcp-47-match' import * as bcp47Match from 'bcp-47-match'
import {useEnableKeyboardControllerScreen} from '#/lib/hooks/useEnableKeyboardController'
import {useLanguagePrefs} from '#/state/preferences' import {useLanguagePrefs} from '#/state/preferences'
import { import {
Layout, Layout,
@@ -60,8 +59,6 @@ export function Onboarding() {
) )
const [contactsFlowState, contactsFlowDispatch] = useFindContactsFlowState() const [contactsFlowState, contactsFlowDispatch] = useFindContactsFlowState()
useEnableKeyboardControllerScreen(true)
return ( return (
<Portal> <Portal>
<View style={[a.absolute, a.inset_0, t.atoms.bg]}> <View style={[a.absolute, a.inset_0, t.atoms.bg]}>