From 830ed3cf6ae9ee873efd6c2e0b2ede8fb3c637fe Mon Sep 17 00:00:00 2001 From: alguilhot Date: Sat, 15 Oct 2022 18:52:14 +0200 Subject: [PATCH] CLEANUP: Ajout du fichier screens.style.js --- bob_party/src/screens/Chat.tsx | 11 ++--------- bob_party/src/screens/Home.tsx | 10 ++-------- bob_party/src/screens/Profile.tsx | 10 ++-------- bob_party/src/screens/Settings.tsx | 10 ++-------- bob_party/src/screens/Store.tsx | 11 ++--------- bob_party/src/screens/style/screens.style.js | 11 +++++++++++ 6 files changed, 21 insertions(+), 42 deletions(-) create mode 100644 bob_party/src/screens/style/screens.style.js diff --git a/bob_party/src/screens/Chat.tsx b/bob_party/src/screens/Chat.tsx index 566a9df..8145b2a 100644 --- a/bob_party/src/screens/Chat.tsx +++ b/bob_party/src/screens/Chat.tsx @@ -1,6 +1,7 @@ import { StatusBar } from 'expo-status-bar' import { StyleSheet, View, Text} from 'react-native' import React from 'react'; +import stylesScreen from './style/screens.style' import { Skin } from '../core/skin'; import { TopBar } from '../components/TopBar'; import { BotBar } from '../components/BotBar'; @@ -10,7 +11,7 @@ const skinTest= new Skin("Bob",require('../../assets/Icons/BobClassic.png')); function Chat(props: { navigation: any; }) { const { navigation } = props return ( - + + + + +