diff --git a/src/view/com/util/OfflineIndicator.tsx b/src/view/com/util/OfflineIndicator.tsx
index 5fbdb77654..6c07aed9d0 100644
--- a/src/view/com/util/OfflineIndicator.tsx
+++ b/src/view/com/util/OfflineIndicator.tsx
@@ -9,8 +9,7 @@ import {
import {usePalette} from 'lib/hooks/usePalette'
import {Text} from 'view/com/util/text/Text'
import {s} from 'lib/styles'
-import {isNative} from 'platform/detection'
-import {CenteredView} from './Views.web'
+import {isDesktopWeb, isNative} from 'platform/detection'
const Indicator = () => {
const pal = usePalette('error')
@@ -19,12 +18,9 @@ const Indicator = () => {
styles.container,
s.flexRow,
s.alignCenter,
+ pal.view,
]
- if (!isNative) {
- containerStyles.push(pal.view)
- }
-
return (
@@ -50,9 +46,9 @@ export const OfflineIndicator = () => {
}
return (
-
+
-
+
)
}
@@ -62,4 +58,10 @@ const styles = StyleSheet.create({
justifyContent: 'center',
height: 20,
},
+ mobileWrapper: {
+ position: 'absolute',
+ left: 0,
+ bottom: 0,
+ width: '100%',
+ },
})
diff --git a/src/view/shell/desktop/LeftNav.tsx b/src/view/shell/desktop/LeftNav.tsx
index 700857bbed..0b82d518c4 100644
--- a/src/view/shell/desktop/LeftNav.tsx
+++ b/src/view/shell/desktop/LeftNav.tsx
@@ -37,6 +37,7 @@ import {getCurrentRoute, isTab, isStateAtTabRoot} from 'lib/routes/helpers'
import {NavigationProp, CommonNavigatorParams} from 'lib/routes/types'
import {router} from '../../../routes'
import {makeProfileLink} from 'lib/routes/links'
+import {OfflineIndicator} from 'view/com/util/OfflineIndicator'
const ProfileCard = observer(() => {
const store = useStores()
@@ -179,6 +180,7 @@ export const DesktopLeftNav = observer(function DesktopLeftNav() {
return (
+
{store.session.hasSession && }
{
return (
<>
-
{isDesktop && store.session.hasSession && (
<>
+
>
@@ -52,7 +52,12 @@ const ShellInner = observer(() => {
quote={store.shell.composerOpts?.quote}
onPost={store.shell.composerOpts?.onPost}
/>
- {!isDesktop && }
+ {!isDesktop && (
+ <>
+
+
+ >
+ )}
{!isDesktop && store.shell.isDrawerOpen && (