add unmountInactiveRoutes to drawer navigator

This commit is contained in:
Akinwale Ariwodola 2019-08-09 07:52:48 +01:00
parent 18d654cc66
commit 4b7f3f140a
2 changed files with 2 additions and 1 deletions

View file

@ -200,6 +200,7 @@ const drawer = createDrawerNavigator(
{
drawerWidth: 300,
headerMode: 'none',
unmountInactiveRoutes: true,
contentComponent: DrawerContent,
contentOptions: {
activeTintColor: Colors.LbryGreen,

View file

@ -497,7 +497,7 @@ class FilePage extends React.PureComponent {
return;
}
sendTip(tipAmount, claim.claim_id, isSupport: false, () => {
sendTip(tipAmount, claim.claim_id, uri, () => {
this.setState({ tipAmount: 0, showTipView: false });
});
};