Navigate to send screen even if the user does not need to authenticate
OmarHatem committed
Dec 15, 2022 at 18:00 UTC
4c9fd5db6549c6f586b207ae5b844225f2092835
1 file changed
+6
lib/src/screens/root/root.dart
+6
@@ -124,6 +124,12 @@ class RootState extends State<Root> with WidgetsBindingObserver {
124
launchUri = null;
125
});
126
});
127
+ } else if (launchUri != null) {
128
+ widget.navigatorKey.currentState?.pushNamed(
129
+ Routes.send,
130
+ arguments: PaymentRequest.fromUri(launchUri),
131
+ );
132
+ launchUri = null;
133
}
134
135
return WillPopScope(onWillPop: () async => false, child: widget.child);