Front: Navigation: Prevent Back action in home and score view

This commit is contained in:
Arthur Jamet
2023-04-28 13:56:50 +01:00
parent d0597f0e95
commit 030cbfc786
+2 -2
View File
@@ -21,11 +21,11 @@ import { Button, Center, VStack } from 'native-base';
const protectedRoutes = () => ({
Home: { component: HomeView, options: { title: translate('welcome') } },
Home: { component: HomeView, options: { title: translate('welcome'), headerLeft: null } },
Settings: { component: SetttingsNavigator, options: { title: 'Settings' } },
Song: { component: SongLobbyView, options: { title: translate('play') } },
Play: { component: PlayView, options: { title: translate('play') } },
Score: { component: ScoreView, options: { title: translate('score') } },
Score: { component: ScoreView, options: { title: translate('score'), headerLeft: null } },
Search: { component: SearchView, options: { title: translate('search') } },
User: { component: ProfileView, options: { title: translate('user') } },
}) as const;