FIX: fix logo gamepad selected

stub-api
Alban GUILHOT 3 years ago
parent 25f9d01413
commit 968577574d

@ -47,7 +47,7 @@ FC<{nav: any, state?: String}> =
the icon of the messages must switch to the blue one) the icon of the messages must switch to the blue one)
*/ */
switch (state) { switch (state) {
case 'Game': case 'Home':
imgMid = sgamepad imgMid = sgamepad
break; break;
case 'Chat': case 'Chat':

@ -32,7 +32,7 @@ function GameChoice(props: { navigation: any; }) {
</View> </View>
<BotBar <BotBar
nav={navigation} nav={navigation}
state='Game' state='Home'
/> />
</View> </View>
); );

@ -26,6 +26,7 @@ function Home(props: { navigation: any; }) {
<TopBar <TopBar
skin={UserActu.getCurrentSkin()} skin={UserActu.getCurrentSkin()}
nav={navigation} nav={navigation}
state= 'Home'
/> />
<View style={stylesScreen.bodyCenter}> <View style={stylesScreen.bodyCenter}>
<ButtonGameTypeChoice <ButtonGameTypeChoice

Loading…
Cancel
Save