diff --git a/src/NavBar.js b/src/NavBar.js index 2b555c7ad..ae7cb164c 100644 --- a/src/NavBar.js +++ b/src/NavBar.js @@ -76,19 +76,19 @@ const styles = StyleSheet.create({ position: 'absolute', }, backButton: { - width: 130, - height: 37, + // width: 130, + // 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: { @@ -100,26 +100,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 104b7b89c..c38ce27f3 100644 --- a/src/Router.js +++ b/src/Router.js @@ -38,13 +38,13 @@ class Router extends Component { this.state = {}; this.renderNavigation = this.renderNavigation.bind(this); this.handleProps = this.handleProps.bind(this); - this.handleBackAndroid = this.handleBackAndroid.bind(this); + // this.handleBackAndroid = this.handleBackAndroid.bind(this); } componentDidMount() { this.handleProps(this.props); - 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() {