Add main menu button

This commit is contained in:
Paul Frazee 2022-12-09 11:22:19 -06:00
parent 356297cace
commit fbf8e5fa14
4 changed files with 28 additions and 26 deletions

View file

@ -44,9 +44,6 @@ export function ViewSelector({
}
const onPressSelection = (index: number) => setSelectedIndex(index)
useEffect(() => {
store.shell.setViewControllingSwipes(
Boolean(swipeEnabled) && selectedIndex > 0,
)
onSelectView?.(selectedIndex)
}, [selectedIndex])