Skip to content

Commit

Permalink
Fix for aksonov#2019 - rightTitle / leftTitle positioning
Browse files Browse the repository at this point in the history
  • Loading branch information
diegocouto committed Jul 17, 2017
1 parent b5854f7 commit c6ef641
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions dist/NavBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}}),{
Expand Down
4 changes: 2 additions & 2 deletions src/NavBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c6ef641

Please sign in to comment.