about summary refs log tree commit diff
path: root/src/view/shell/mobile/index.tsx
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2022-11-17 13:15:04 -0600
committerPaul Frazee <pfrazee@gmail.com>2022-11-17 13:15:04 -0600
commitc6b137a15356f894ba555661184af4cea4d916a2 (patch)
treed5dd385b58035a89a255e39a09c2cca248069079 /src/view/shell/mobile/index.tsx
parent8b584c8c09f835984ab4008f936f5370c0e16d70 (diff)
downloadvoidsky-c6b137a15356f894ba555661184af4cea4d916a2.tar.zst
Fix: correctly set visible on screens
Diffstat (limited to 'src/view/shell/mobile/index.tsx')
-rw-r--r--src/view/shell/mobile/index.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/view/shell/mobile/index.tsx b/src/view/shell/mobile/index.tsx
index 3fadee5e0..de973bd98 100644
--- a/src/view/shell/mobile/index.tsx
+++ b/src/view/shell/mobile/index.tsx
@@ -256,7 +256,7 @@ export const MobileShell: React.FC = observer(() => {
                       ]}>
                       <Com
                         params={params}
-                        visible={true}
+                        visible={current}
                         scrollElRef={current ? scrollElRef : undefined}
                       />
                     </Animated.View>