|
@@ -5,7 +5,7 @@ import {Container} from "native-base";
|
5
|
5
|
import CustomHeader from "./CustomHeader";
|
6
|
6
|
import CustomSideMenu from "./CustomSideMenu";
|
7
|
7
|
import CustomMaterialIcon from "./CustomMaterialIcon";
|
8
|
|
-import {Platform, View} from "react-native";
|
|
8
|
+import {Platform, View, StatusBar} from "react-native";
|
9
|
9
|
import ThemeManager from "../utils/ThemeManager";
|
10
|
10
|
import Touchable from "react-native-platform-touchable";
|
11
|
11
|
import {ScreenOrientation} from "expo";
|
|
@@ -80,6 +80,7 @@ export default class BaseContainer extends React.Component<Props, State> {
|
80
|
80
|
key: this.props.navigation.state.key,
|
81
|
81
|
});
|
82
|
82
|
this.props.navigation.dispatch(setParamsAction);
|
|
83
|
+ StatusBar.setHidden(isLandscape);
|
83
|
84
|
}
|
84
|
85
|
});
|
85
|
86
|
}
|
|
@@ -122,7 +123,7 @@ export default class BaseContainer extends React.Component<Props, State> {
|
122
|
123
|
rightButton={this.props.headerRightButton}
|
123
|
124
|
hasTabs={this.props.hasTabs}
|
124
|
125
|
hasBackButton={this.props.hasBackButton}/>
|
125
|
|
- : <View style={{paddingTop: 20}}/>}
|
|
126
|
+ : <View/>}
|
126
|
127
|
{this.props.children}
|
127
|
128
|
</Container>
|
128
|
129
|
);
|