Front: Play Page: Use Scorometer

This commit is contained in:
Arthi-chaud
2023-01-07 08:19:36 +00:00
parent b55ea59733
commit 2934d760eb
4 changed files with 110 additions and 72 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ import { RootState, useSelector } from './state/Store';
const Stack = createNativeStackNavigator();
export const protectedRoutes = <>
<Stack.Screen name="Play" component={PlayView} options={{ title: translate('play') }} />
<Stack.Screen name="Play" component={() => PlayView({ songId: 1 })} options={{ title: translate('play') }} />
<Stack.Screen name="Home" component={HomeView} options={{ title: translate('welcome') }} />
<Stack.Screen name="Settings" component={SetttingsNavigator} options={{ title: 'Settings' }} />
<Stack.Screen name="Song" component={SongLobbyView} options={{ title: translate('play') }} />