Skip to content
This repository has been archived by the owner on Feb 15, 2019. It is now read-only.

Commit

Permalink
Fix extra padding on navigation bar on ios
Browse files Browse the repository at this point in the history
fbshipit-source-id: d3f1e25
  • Loading branch information
brentvatne authored and expbot committed Aug 28, 2016
1 parent 2e79914 commit 1576453
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@exponent/ex-navigation",
"version": "1.5.11",
"version": "1.5.12",
"description": "Route-centric navigation libary for React Native.",
"main": "./src/ExNavigation.js",
"scripts": {
Expand Down
4 changes: 3 additions & 1 deletion src/ExNavigationBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,9 @@ const styles = StyleSheet.create({
left: 0,
right: 0,
paddingTop: ExNavigationBar.DEFAULT_HEIGHT,
paddingBottom: 16,
// TODO(brentvatne): come up with a better solution for making the
// elevation show up properly on Android
paddingBottom: Platform.OS === 'android' ? 16 : 0,
},

wrapperWithoutAppbar: {
Expand Down

0 comments on commit 1576453

Please sign in to comment.