|
@@ -7,7 +7,7 @@ import {StyleSheet, View, Text} from 'react-native';
|
|
|
import Library from 'trapilib/dist/lib';
|
|
|
import SideBar from './SideBar';
|
|
|
import MainBar from './MainBar';
|
|
|
-
|
|
|
+import ModuleBar from './ModuleBar';
|
|
|
|
|
|
|
|
|
let {
|
|
@@ -18,6 +18,7 @@ let {
|
|
|
|
|
|
export default class Gui {
|
|
|
constructor() {
|
|
|
+ this.ModuleBar = new ModuleBar();
|
|
|
this.Keyboard = new Keyboard();
|
|
|
this.phoneRef = React.createRef();
|
|
|
this.phone = this.phoneRef;
|
|
@@ -149,6 +150,14 @@ export default class Gui {
|
|
|
</div>)
|
|
|
}
|
|
|
|
|
|
+ renderModuleBar(){
|
|
|
+ return (
|
|
|
+ <View>
|
|
|
+ {this.ModuleBar.render()}
|
|
|
+ </View>
|
|
|
+ )
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
}
|
|
|
|
|
@@ -203,7 +212,6 @@ const styles = StyleSheet.create({
|
|
|
width:256,
|
|
|
alignSelf: 'stretch',
|
|
|
flexDirection: 'column',
|
|
|
- backgroundColor:'blue'
|
|
|
}
|
|
|
|
|
|
|