Navigate to send screen even if the user does not need to authenticate

This commit is contained in:
OmarHatem 2022-12-15 18:00:56 +02:00
parent 3d3c22c259
commit 4c9fd5db65

View file

@ -124,6 +124,12 @@ class RootState extends State<Root> 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);