about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2022-12-30 15:56:54 -0600
committerPaul Frazee <pfrazee@gmail.com>2022-12-30 15:56:54 -0600
commit8f59957fab7a68be113cec0c14067734e20911de (patch)
tree34da0e4e1fd07b0716fd4e57a49bf11237474404
parenta90fd5d26f1a8aa5149627a68a8dd6b13b26fec5 (diff)
downloadvoidsky-8f59957fab7a68be113cec0c14067734e20911de.tar.zst
Fix the status bar coloring
-rw-r--r--src/view/shell/mobile/index.tsx8
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}