about summary refs log tree commit diff
path: root/src/view/shell/mobile/index.tsx
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-03-01 16:54:50 -0600
committerGitHub <noreply@github.com>2023-03-01 16:54:50 -0600
commit9b46b2e6a9a8e4e9254fa9031b2eb44a672e287f (patch)
tree91fa22c6de7d8450a8b55ebac4168390cfc586ce /src/view/shell/mobile/index.tsx
parent1fd2942b9bbb973b72a386c24a9a51aaa50df185 (diff)
downloadvoidsky-9b46b2e6a9a8e4e9254fa9031b2eb44a672e287f.tar.zst
A couple various fixes (#242)
* Fix: set the status bar color for dark mode when logging in

* Add some logging

* Improve read/unread tracking behaviors in notifications
Diffstat (limited to 'src/view/shell/mobile/index.tsx')
-rw-r--r--src/view/shell/mobile/index.tsx5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/view/shell/mobile/index.tsx b/src/view/shell/mobile/index.tsx
index 6caf89232..dbfcad0ee 100644
--- a/src/view/shell/mobile/index.tsx
+++ b/src/view/shell/mobile/index.tsx
@@ -398,6 +398,11 @@ export const MobileShell: React.FC = observer(() => {
   if (!store.session.hasSession) {
     return (
       <View style={styles.outerContainer}>
+        <StatusBar
+          barStyle={
+            theme.colorScheme === 'dark' ? 'light-content' : 'dark-content'
+          }
+        />
         <Login />
         <ModalsContainer />
       </View>