diff options
author | Paul Frazee <pfrazee@gmail.com> | 2022-12-30 15:56:54 -0600 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2022-12-30 15:56:54 -0600 |
commit | 8f59957fab7a68be113cec0c14067734e20911de (patch) | |
tree | 34da0e4e1fd07b0716fd4e57a49bf11237474404 /src | |
parent | a90fd5d26f1a8aa5149627a68a8dd6b13b26fec5 (diff) | |
download | voidsky-8f59957fab7a68be113cec0c14067734e20911de.tar.zst |
Fix the status bar coloring
Diffstat (limited to 'src')
-rw-r--r-- | src/view/shell/mobile/index.tsx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/view/shell/mobile/index.tsx b/src/view/shell/mobile/index.tsx index 7b96c87ba..efa649753 100644 --- a/src/view/shell/mobile/index.tsx +++ b/src/view/shell/mobile/index.tsx @@ -6,6 +6,7 @@ import { FlatList, GestureResponderEvent, SafeAreaView, + StatusBar, StyleSheet, TouchableOpacity, TouchableWithoutFeedback, @@ -349,7 +350,12 @@ export const MobileShell: React.FC = observer(() => { backgroundColor: theme.colorScheme === 'dark' ? colors.gray7 : colors.gray1, } return ( - <View style={styles.outerContainer}> + <View style={[styles.outerContainer, pal.view]}> + <StatusBar + barStyle={ + theme.colorScheme === 'dark' ? 'light-content' : 'dark-content' + } + /> <View style={[styles.innerContainer, {paddingTop: safeAreaInsets.top}]}> <HorzSwipe distThresholdDivisor={1.5} |