FIX: appli fonctionelle au lancement suite au merge des branches
continuous-integration/drone/push Build is failing Details

stub-api
Lucie Bedouret 3 years ago
parent acbeaffec3
commit 8b1fdc9c99

@ -3,7 +3,7 @@ import { Pressable, Image, Text, View} from "react-native"
import { Skin } from "../core/Skin"
import React from "react"
import { SkinComponent } from "./Skin"
import { User } from "../core/user"
import { User } from "../core/User/user"
/*
Import the correct stylesheet

@ -1,6 +1,6 @@
import { createSlice, PayloadAction } from "@reduxjs/toolkit"
import { Skin } from "../../core/Skin";
import { User } from "../../core/user";
import { User } from "../../core/User/user";
interface currentUserState {
value: User[]

@ -17,7 +17,6 @@ function Chat(props: { navigation: any; }) {
return (
<View style={stylesScreen.container}>
<TopBar
skin={currentUser.getCurrentSkin()}
nav={navigation}
/>
<View style={stylesScreen.bodyStart}>

@ -16,13 +16,12 @@ let tabConv:Conversation[]=[];
const msc = require('../../assets/Icons/FondGris.png');
const UserActu=new User("14", "leBg", "MdpDeOuf", "ouioui", "grand", new Date(2022,12,12), 12222, 123324, 12, tabSkinApp[0], tabSkinApp, tabConv);
const jeuTest= new GameSolo("SNAKE", require('../../assets/Icons/UnSelected/Gamepad.png'),"ouin", 1, new Map<number,number>);
const jeuTest= new GameSolo("SNAKE", require('../../assets/Icons/UnSelected/Gamepad.png'),"ouin", 1, 1,new Map<number,number>);
function GameChoice(props: { navigation: any; }) {
const { navigation } = props
return (
<View style={styles.container}>
<TopBar
skin={UserActu.getCurrentSkin()}
nav={navigation}
/>
<View style={styles.body}>

@ -22,7 +22,6 @@ function Home(props: { navigation: any; }) {
return (
<View style={stylesScreen.container}>
<TopBar
skin={currentUser.getCurrentSkin()}
nav={navigation}
state= 'Home'
/>

@ -23,7 +23,6 @@ function Profile(props: { navigation: any; }) {
return (
<View style={stylesScreen.container}>
<TopBar
skin={currentUser.getCurrentSkin()}
nav={navigation}
/>
<View style={stylesScreen.bodyStart}>
@ -38,7 +37,7 @@ function Profile(props: { navigation: any; }) {
<Text style={styles.coinText}>{currentUser.getCurrentCoins()}</Text>
</View>
<View style={styles.skinView}>
<SkinComponent skin={currentUser.getCurrentSkin()} state='profile' nav={navigation} />
<SkinComponent skin={currentUser.getCurrentSkin()} state='profile' />
<ButtonGreySmall onPress={() => navigation.navigate('SkinList')} title='Changer de skin' state='Profile'/>
</View>
</View>

@ -21,7 +21,6 @@ function SkinList(props: { navigation: any; }) {
return (
<View style={stylesScreen.container}>
<TopBar
skin={currentUser.getCurrentSkin()}
nav={navigation}
/>
<View style={stylesScreen.bodyStart}>

@ -18,7 +18,6 @@ function Store(props: { navigation: any; }) {
return (
<View style={stylesScreen.container}>
<TopBar
skin={currentUser.getCurrentSkin()}
nav={navigation}
/>
<View style={stylesScreen.bodyStart}>

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save