add unmountInactiveRoutes to drawer navigator
This commit is contained in:
parent
18d654cc66
commit
4b7f3f140a
2 changed files with 2 additions and 1 deletions
|
@ -200,6 +200,7 @@ const drawer = createDrawerNavigator(
|
|||
{
|
||||
drawerWidth: 300,
|
||||
headerMode: 'none',
|
||||
unmountInactiveRoutes: true,
|
||||
contentComponent: DrawerContent,
|
||||
contentOptions: {
|
||||
activeTintColor: Colors.LbryGreen,
|
||||
|
|
|
@ -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 });
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue