Skip to content

Commit

Permalink
Fix status bar color in native stack in send flow navigated from Expa…
Browse files Browse the repository at this point in the history
…ndedAsses (#349)
  • Loading branch information
osdnk authored Feb 12, 2020
1 parent 817b1f5 commit a32db3f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/screens/Routes/Routes.ios.js
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,14 @@ const AppContainerWithAnalytics = React.forwardRef((props, ref) => (
StatusBar.setBarStyle('dark-content');
}

if (prevRouteName === 'WalletScreen' && routeName === 'SendSheet') {
StatusBar.setBarStyle('light-content');
}

if (prevRouteName === 'SendSheet' && routeName === 'WalletScreen') {
StatusBar.setBarStyle('dark-content');
}

if (routeName === 'SettingsModal') {
let subRoute = get(params, 'section.title');
if (subRoute === 'Settings') subRoute = null;
Expand Down

0 comments on commit a32db3f

Please sign in to comment.