Ensure the UI always renders, even in bad network conditions (close #6)
This commit is contained in:
@@ -9,7 +9,7 @@ export const DesktopWebShell: React.FC = observer(({children}) => {
|
||||
const store = useStores()
|
||||
return (
|
||||
<View style={styles.outerContainer}>
|
||||
{store.session.isAuthed ? (
|
||||
{store.session.hasSession ? (
|
||||
<>
|
||||
<DesktopLeftColumn />
|
||||
<View style={styles.innerContainer}>{children}</View>
|
||||
|
||||
@@ -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']}
|
||||
|
||||
Reference in New Issue
Block a user