Ajout, modification et suppression de défi

This commit is contained in:
2024-12-14 12:36:50 +01:00
parent dba5b511ae
commit fd4b0e8cd1
3 changed files with 182 additions and 6 deletions

View File

@ -24,14 +24,16 @@ export default function MapScreen() {
visible={game.gameStarted || game.money > 0}
icon={(props) => <FontAwesome6 {...props} name='coins' size={20} />}
color='black'
label={`${game.money}`} />
label={`${game.money}`}
onPress={() => {}} />
<FAB
style={styles.statusBadge}
visible={game.gameStarted || game.money > 0}
size='small'
color='black'
icon={game.currentRunner ? 'run-fast' : () => <FontAwesome6 name='cat' size={20} />}
label={game.currentRunner ? "Coureuse" : "Poursuiveuse"} />
label={game.currentRunner ? "Coureuse" : "Poursuiveuse"}
onPress={() => {}} />
</View>
<FreeChaseBanner />
</Surface>