mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-01-18 21:35:21 +01:00
FIX: Sometimes would crash due to lack of initialParams
This commit is contained in:
parent
66fcaa040d
commit
19c8a87886
@ -216,7 +216,12 @@ const SendDetailsRoot = () => {
|
||||
|
||||
return (
|
||||
<SendDetailsStack.Navigator screenOptions={{ headerHideShadow: true }}>
|
||||
<SendDetailsStack.Screen name="SendDetails" component={SendDetails} options={SendDetails.navigationOptions(theme)} />
|
||||
<SendDetailsStack.Screen
|
||||
name="SendDetails"
|
||||
component={SendDetails}
|
||||
options={SendDetails.navigationOptions(theme)}
|
||||
initialParams={SendDetails.initialParams}
|
||||
/>
|
||||
<SendDetailsStack.Screen name="Confirm" component={Confirm} options={Confirm.navigationOptions(theme)} />
|
||||
<SendDetailsStack.Screen
|
||||
name="PsbtWithHardwareWallet"
|
||||
|
@ -1682,3 +1682,5 @@ SendDetails.navigationOptions = navigationStyleTx({}, options => ({
|
||||
title: loc.send.header,
|
||||
statusBarStyle: 'light',
|
||||
}));
|
||||
|
||||
SendDetails.initialParams = { isEditable: true };
|
||||
|
Loading…
Reference in New Issue
Block a user