diff --git a/dist/NavBar.js b/dist/NavBar.js index e848c2309..fafa532e5 100644 --- a/dist/NavBar.js +++ b/dist/NavBar.js @@ -261,14 +261,14 @@ paddingLeft:8, flexDirection:'row', transform:[{scaleX:_reactNative.I18nManager.isRTL?-1:1}]}), -rightButton:_extends({ -position:'absolute'}, +rightButton:_extends({}, _reactNative.Platform.select({ ios:{ +position:'absolute', top:12}, android:{ -top:10}, +top:0}, windows:{ top:8}}),{ diff --git a/src/NavBar.js b/src/NavBar.js index d37655d73..d865c41f9 100644 --- a/src/NavBar.js +++ b/src/NavBar.js @@ -262,13 +262,13 @@ const styles = StyleSheet.create({ transform: [{ scaleX: I18nManager.isRTL ? -1 : 1 }], }, rightButton: { - position: 'absolute', ...Platform.select({ ios: { + position: 'absolute', top: 12, }, android: { - top: 10, + top: 0, }, windows: { top: 8,