diff --git a/bob_party/src/screens/Chat.tsx b/bob_party/src/screens/Chat.tsx index 9a3f391..a911a34 100644 --- a/bob_party/src/screens/Chat.tsx +++ b/bob_party/src/screens/Chat.tsx @@ -6,7 +6,7 @@ import { Skin } from '../core/skin'; import { TopBar } from '../components/TopBar'; import { BotBar } from '../components/BotBar'; -const skinTest= new Skin("S0001", "Bob",require('../../assets/Icons/BobClassic.png')); +const skinTest= new Skin("S0001", "Bob",require('../../assets/Icons/BobClassic.png'),100); function Chat(props: { navigation: any; }) { const { navigation } = props diff --git a/bob_party/src/screens/Profile.tsx b/bob_party/src/screens/Profile.tsx index b003a2d..5a6ac60 100644 --- a/bob_party/src/screens/Profile.tsx +++ b/bob_party/src/screens/Profile.tsx @@ -2,7 +2,6 @@ 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'; import { FlatList } from 'react-native-gesture-handler'; @@ -19,12 +18,6 @@ function Profile(props: { navigation: any; }) { nav={navigation} /> - item.getSkinName()} - renderItem={({item}) => } /> + + + item.getSkinName()} + renderItem={({item}) => } /> + + + + ); +} + +const styles = StyleSheet.create({ + body: { + flex: 1, + flexDirection: 'column', + width: '100%', + }, +}); + +export default SkinList \ No newline at end of file