Add main menu button
This commit is contained in:
parent
356297cace
commit
fbf8e5fa14
4 changed files with 28 additions and 26 deletions
|
@ -44,9 +44,6 @@ export function ViewSelector({
|
|||
}
|
||||
const onPressSelection = (index: number) => setSelectedIndex(index)
|
||||
useEffect(() => {
|
||||
store.shell.setViewControllingSwipes(
|
||||
Boolean(swipeEnabled) && selectedIndex > 0,
|
||||
)
|
||||
onSelectView?.(selectedIndex)
|
||||
}, [selectedIndex])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue