Ensure the UI always renders, even in bad network conditions (close #6)
This commit is contained in:
parent
59363181e1
commit
f27e32e54c
13 changed files with 259 additions and 72 deletions
|
@ -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']}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue