From 4c9fd5db6549c6f586b207ae5b844225f2092835 Mon Sep 17 00:00:00 2001 From: OmarHatem Date: Thu, 15 Dec 2022 18:00:56 +0200 Subject: [PATCH] Navigate to send screen even if the user does not need to authenticate --- lib/src/screens/root/root.dart | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/src/screens/root/root.dart b/lib/src/screens/root/root.dart index 0ab1c23c1..052d4c71b 100644 --- a/lib/src/screens/root/root.dart +++ b/lib/src/screens/root/root.dart @@ -124,6 +124,12 @@ class RootState extends State with WidgetsBindingObserver { 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);