mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-10 21:04:53 +00:00
Navigate to send screen even if the user does not need to authenticate
This commit is contained in:
parent
3d3c22c259
commit
4c9fd5db65
1 changed files with 6 additions and 0 deletions
|
@ -124,6 +124,12 @@ class RootState extends State<Root> with WidgetsBindingObserver {
|
||||||
launchUri = null;
|
launchUri = null;
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
} else if (launchUri != null) {
|
||||||
|
widget.navigatorKey.currentState?.pushNamed(
|
||||||
|
Routes.send,
|
||||||
|
arguments: PaymentRequest.fromUri(launchUri),
|
||||||
|
);
|
||||||
|
launchUri = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
return WillPopScope(onWillPop: () async => false, child: widget.child);
|
return WillPopScope(onWillPop: () async => false, child: widget.child);
|
||||||
|
|
Loading…
Reference in a new issue