diff --git a/bob_party/src/components/Skin.tsx b/bob_party/src/components/Skin.tsx
index 8762a9c..69f0a14 100644
--- a/bob_party/src/components/Skin.tsx
+++ b/bob_party/src/components/Skin.tsx
@@ -27,7 +27,7 @@ FC<{skin: Skin, state: String}> =
100€
)
- case 'profile':
+ case 'liste':
return(
Alert.alert("Achat du skin")} style={styles.imageWrapper}>
{skin.getSkinName()}
@@ -37,6 +37,16 @@ FC<{skin: Skin, state: String}> =
/>
)
+ case 'profile':
+ return(
+ Alert.alert("Achat du skin")} style={styles.imageWrapperProfil}>
+ {skin.getSkinName()}
+
+
+ )
default:
break;
}
diff --git a/bob_party/src/components/style/Skin.style.js b/bob_party/src/components/style/Skin.style.js
index 360f5c2..d8291fe 100644
--- a/bob_party/src/components/style/Skin.style.js
+++ b/bob_party/src/components/style/Skin.style.js
@@ -1,27 +1,32 @@
import { StyleSheet } from "react-native";
export default StyleSheet.create({
- icon: {
- width: 50,
- height: 50,
- borderRadius: 50,
- },
- imageWrapper: {
- height: 135,
- width: '40%',
- flexDirection: "column",
- margin: 10,
- },
- imageSkin : {
- borderRadius: 15,
- width: '100%',
- flex:1
- },
- nomSkin :{
- textAlign: 'center',
- fontSize: 25,
- fontFamily: 'Helvetica',
- fontWeight: 'bold',
- color: 'white',
- },
+ icon: {
+ width: 50,
+ height: 50,
+ borderRadius: 50,
+ },
+ imageWrapper: {
+ height: 135,
+ width: '40%',
+ flexDirection: "column",
+ margin: 10,
+ },
+ imageWrapperProfil: {
+ height: 135,
+ flexDirection: "column",
+ margin: 10,
+ },
+ imageSkin : {
+ borderRadius: 15,
+ width: '100%',
+ flex:1
+ },
+ nomSkin :{
+ textAlign: 'center',
+ fontSize: 25,
+ fontFamily: 'Helvetica',
+ fontWeight: 'bold',
+ color: 'white',
+ },
});
\ No newline at end of file