diff --git a/src/NavBar.js b/src/NavBar.js index a96ff82be..9ca4331fb 100644 --- a/src/NavBar.js +++ b/src/NavBar.js @@ -80,19 +80,19 @@ const styles = StyleSheet.create({ position: 'absolute', }, backButton: { - width: 100, - height: 37, + // width: 100, + // height: 37, position: 'absolute', ...Platform.select({ ios: { top: 22, }, android: { - top: 10, + // top: 10, }, }), - left: 2, - padding: 8, + left: 10, + // padding: 8, flexDirection: 'row', }, rightButton: { @@ -104,26 +104,26 @@ const styles = StyleSheet.create({ top: 22, }, android: { - top: 10, + // top: 10, }, }), - right: 2, - padding: 8, + right: 10, + // padding: 8, }, leftButton: { - width: 100, - height: 37, + // width: 100, + // height: 37, position: 'absolute', ...Platform.select({ ios: { top: 20, }, android: { - top: 8, + // top: 8, }, }), - left: 2, - padding: 8, + left: 10, + // padding: 8, }, barRightButtonText: { color: 'rgb(0, 122, 255)', diff --git a/src/Router.js b/src/Router.js index 68e880d1c..8ffa4354d 100644 --- a/src/Router.js +++ b/src/Router.js @@ -43,7 +43,7 @@ class Router extends Component { } componentDidMount() { - BackAndroid.addEventListener('hardwareBackPress', this.handleBackAndroid); + // BackAndroid.addEventListener('hardwareBackPress', this.handleBackAndroid); } componentWillReceiveProps(props) { @@ -52,7 +52,7 @@ class Router extends Component { } componentWillUnmount() { - BackAndroid.removeEventListener('hardwareBackPress', this.handleBackAndroid); + // BackAndroid.removeEventListener('hardwareBackPress', this.handleBackAndroid); } handleBackAndroid() {