fix: bug
This commit is contained in:
parent
17d0cfa54e
commit
4bf364d955
|
|
@ -6,9 +6,12 @@ import { StatusBar } from 'expo-status-bar'
|
||||||
import { useEffect } from 'react'
|
import { useEffect } from 'react'
|
||||||
import 'react-native-reanimated'
|
import 'react-native-reanimated'
|
||||||
import { GestureHandlerRootView } from 'react-native-gesture-handler'
|
import { GestureHandlerRootView } from 'react-native-gesture-handler'
|
||||||
import { View, ActivityIndicator, AppState } from 'react-native'
|
import { View, ActivityIndicator, AppState, LogBox } from 'react-native'
|
||||||
import * as Updates from 'expo-updates'
|
import * as Updates from 'expo-updates'
|
||||||
|
|
||||||
|
// 抑制已知的第三方库警告
|
||||||
|
LogBox.ignoreLogs(['SafeAreaView has been deprecated'])
|
||||||
|
|
||||||
import { useColorScheme } from '@/hooks/use-color-scheme'
|
import { useColorScheme } from '@/hooks/use-color-scheme'
|
||||||
import { KeyboardProvider } from 'react-native-keyboard-controller'
|
import { KeyboardProvider } from 'react-native-keyboard-controller'
|
||||||
import { SafeAreaProvider } from 'react-native-safe-area-context'
|
import { SafeAreaProvider } from 'react-native-safe-area-context'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue