Fix: correctly set visible on screens
parent
8b584c8c09
commit
c6b137a153
|
@ -45,7 +45,6 @@ export const Home = observer(function Home({
|
|||
let aborted = false
|
||||
const pollInterval = setInterval(() => doPoll(), 15e3)
|
||||
if (!visible) {
|
||||
console.log('hit')
|
||||
return
|
||||
}
|
||||
if (hasSetup) {
|
||||
|
|
|
@ -256,7 +256,7 @@ export const MobileShell: React.FC = observer(() => {
|
|||
]}>
|
||||
<Com
|
||||
params={params}
|
||||
visible={true}
|
||||
visible={current}
|
||||
scrollElRef={current ? scrollElRef : undefined}
|
||||
/>
|
||||
</Animated.View>
|
||||
|
|
Loading…
Reference in New Issue