about summary refs log tree commit diff
path: root/src/view/shell/mobile/index.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/view/shell/mobile/index.tsx')
-rw-r--r--src/view/shell/mobile/index.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/view/shell/mobile/index.tsx b/src/view/shell/mobile/index.tsx
index ccde52a2c..27524bcae 100644
--- a/src/view/shell/mobile/index.tsx
+++ b/src/view/shell/mobile/index.tsx
@@ -321,7 +321,7 @@ export const MobileShell: React.FC = observer(() => {
         <Btn
           icon={isAtHome ? 'home-solid' : 'home'}
           onPress={onPressHome}
-          onLongPress={doNewTab('/')}
+          onLongPress={TABS_ENABLED ? doNewTab('/') : undefined}
         />
         {TABS_ENABLED ? (
           <Btn
@@ -333,7 +333,7 @@ export const MobileShell: React.FC = observer(() => {
         <Btn
           icon={isAtNotifications ? 'bell-solid' : 'bell'}
           onPress={onPressNotifications}
-          onLongPress={doNewTab('/notifications')}
+          onLongPress={TABS_ENABLED ? doNewTab('/notifications') : undefined}
           notificationCount={store.me.notificationCount}
         />
         <Btn