diff options
author | João Ferreiro <ferreiro@pinkroom.dev> | 2022-11-29 10:29:19 +0000 |
---|---|---|
committer | João Ferreiro <ferreiro@pinkroom.dev> | 2022-11-29 10:29:19 +0000 |
commit | 77ea3bfd0a28f76651ed425cf733abcf01ecaa24 (patch) | |
tree | 53f6806d2ca00366f6f3298e378aa6a59ca17e83 /src/view/shell/mobile/index.tsx | |
parent | 3ce113f1076bbeeffc20888b3a28b2680ada8ab5 (diff) | |
parent | 88c868dd808d204fc29deb162609de984745b951 (diff) | |
download | voidsky-77ea3bfd0a28f76651ed425cf733abcf01ecaa24.tar.zst |
Merge branch 'main' into upload-image
Diffstat (limited to 'src/view/shell/mobile/index.tsx')
-rw-r--r-- | src/view/shell/mobile/index.tsx | 4 |
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 |