|
|
@ -1,6 +1,7 @@
|
|
|
|
import { StatusBar } from 'expo-status-bar'
|
|
|
|
import { StatusBar } from 'expo-status-bar'
|
|
|
|
import { StyleSheet, View, Text} from 'react-native'
|
|
|
|
import { StyleSheet, View, Text} from 'react-native'
|
|
|
|
import React from 'react';
|
|
|
|
import React from 'react';
|
|
|
|
|
|
|
|
import stylesScreen from './style/screens.style'
|
|
|
|
import { Skin } from '../core/skin';
|
|
|
|
import { Skin } from '../core/skin';
|
|
|
|
import { TopBar } from '../components/TopBar';
|
|
|
|
import { TopBar } from '../components/TopBar';
|
|
|
|
import { BotBar } from '../components/BotBar';
|
|
|
|
import { BotBar } from '../components/BotBar';
|
|
|
@ -10,7 +11,7 @@ const skinTest= new Skin("Bob",require('../../assets/Icons/BobClassic.png'));
|
|
|
|
function Chat(props: { navigation: any; }) {
|
|
|
|
function Chat(props: { navigation: any; }) {
|
|
|
|
const { navigation } = props
|
|
|
|
const { navigation } = props
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<View style={styles.container}>
|
|
|
|
<View style={stylesScreen.container}>
|
|
|
|
<TopBar
|
|
|
|
<TopBar
|
|
|
|
skin={skinTest}
|
|
|
|
skin={skinTest}
|
|
|
|
nav={navigation}
|
|
|
|
nav={navigation}
|
|
|
@ -26,7 +27,6 @@ function Chat(props: { navigation: any; }) {
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const styles = StyleSheet.create({
|
|
|
|
const styles = StyleSheet.create({
|
|
|
|
body: {
|
|
|
|
body: {
|
|
|
|
flex: 1,
|
|
|
|
flex: 1,
|
|
|
@ -34,13 +34,6 @@ const styles = StyleSheet.create({
|
|
|
|
alignItems: 'flex-start',
|
|
|
|
alignItems: 'flex-start',
|
|
|
|
width: '70%',
|
|
|
|
width: '70%',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
container: {
|
|
|
|
|
|
|
|
flex: 1,
|
|
|
|
|
|
|
|
backgroundColor: "#45444E",
|
|
|
|
|
|
|
|
flexDirection: "column",
|
|
|
|
|
|
|
|
justifyContent: "flex-start",
|
|
|
|
|
|
|
|
alignItems: "center",
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
export default Chat
|
|
|
|
export default Chat
|