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>2022-12-05 13:25:04 -0600
committerPaul Frazee <pfrazee@gmail.com>2022-12-05 13:25:04 -0600
commitf27e32e54c3e6a6f7d156cf6c23c11778a7dd316 (patch)
tree484dbd281d938082c0de8ec3ba346ed8af839429 /src/view/shell/mobile/index.tsx
parent59363181e1c72dcec3a86cf155f12a556e569b8f (diff)
downloadvoidsky-f27e32e54c3e6a6f7d156cf6c23c11778a7dd316.tar.zst
Ensure the UI always renders, even in bad network conditions (close #6)
Diffstat (limited to 'src/view/shell/mobile/index.tsx')
-rw-r--r--src/view/shell/mobile/index.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/view/shell/mobile/index.tsx b/src/view/shell/mobile/index.tsx
index d653944d1..e3e30decc 100644
--- a/src/view/shell/mobile/index.tsx
+++ b/src/view/shell/mobile/index.tsx
@@ -231,7 +231,7 @@ export const MobileShell: React.FC = observer(() => {
     transform: [{scale: newTabInterp.value}],
   }))
 
-  if (!store.session.isAuthed) {
+  if (!store.session.hasSession) {
     return (
       <LinearGradient
         colors={['#007CFF', '#00BCFF']}