diff options
author | Mathieu Acthernoene <zoontek@gmail.com> | 2025-04-22 18:16:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-22 19:16:50 +0300 |
commit | a770f5635b549f2a87ffeaedd031dfe8e37b58c8 (patch) | |
tree | 2e935d294227e57b2e81ba79ba96a6a85f268971 /src/screens/Takendown.tsx | |
parent | 6e80b340c825900524bfe981ba29cfd0c6cf5934 (diff) | |
download | voidsky-a770f5635b549f2a87ffeaedd031dfe8e37b58c8.tar.zst |
Edge to edge support (#7497)
Diffstat (limited to 'src/screens/Takendown.tsx')
-rw-r--r-- | src/screens/Takendown.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/screens/Takendown.tsx b/src/screens/Takendown.tsx index c714a775e..ef3e93658 100644 --- a/src/screens/Takendown.tsx +++ b/src/screens/Takendown.tsx @@ -1,8 +1,8 @@ import {useMemo, useState} from 'react' import {Modal, View} from 'react-native' +import {SystemBars} from 'react-native-edge-to-edge' import {KeyboardAwareScrollView} from 'react-native-keyboard-controller' import {useSafeAreaInsets} from 'react-native-safe-area-context' -import {StatusBar} from 'expo-status-bar' import {ComAtprotoAdminDefs, ComAtprotoModerationDefs} from '@atproto/api' import {msg, Trans} from '@lingui/macro' import {useLingui} from '@lingui/react' @@ -126,7 +126,7 @@ export function Takendown() { animationType={native('slide')} presentationStyle="formSheet" style={[web(a.util_screen_outer)]}> - {isIOS && <StatusBar style="light" />} + {isIOS && <SystemBars style={{statusBar: 'light'}} />} <KeyboardAwareScrollView style={[a.flex_1, t.atoms.bg]} centerContent> <View style={[ |