about summary refs log tree commit diff
path: root/src/view/shell/bottom-bar/BottomBar.tsx
diff options
context:
space:
mode:
authordan <dan.abramov@gmail.com>2023-10-13 15:29:50 +0100
committerGitHub <noreply@github.com>2023-10-13 15:29:50 +0100
commitd5ccbd76d5ffc9280f0109138f608b94bee0aadf (patch)
tree84fd90b0db3e95cc194ce71536c3068d4bc8dd2a /src/view/shell/bottom-bar/BottomBar.tsx
parenteba9f8a1662e78ff79b7d179efa8dec261d61d87 (diff)
downloadvoidsky-d5ccbd76d5ffc9280f0109138f608b94bee0aadf.tar.zst
Disable events on hidden bars (#1686)
Diffstat (limited to 'src/view/shell/bottom-bar/BottomBar.tsx')
-rw-r--r--src/view/shell/bottom-bar/BottomBar.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/view/shell/bottom-bar/BottomBar.tsx b/src/view/shell/bottom-bar/BottomBar.tsx
index 4758c5e01..984aef25d 100644
--- a/src/view/shell/bottom-bar/BottomBar.tsx
+++ b/src/view/shell/bottom-bar/BottomBar.tsx
@@ -87,6 +87,7 @@ export const BottomBar = observer(function BottomBarImpl({
         pal.border,
         {paddingBottom: clamp(safeAreaInsets.bottom, 15, 30)},
         footerMinimalShellTransform,
+        store.shell.minimalShellMode && styles.disabled,
       ]}>
       <Btn
         testID="bottomBarHomeBtn"