Merge pull request #677 from cake-tech/fix-not-opening-send-screen-from-uri

Fix Send screen not opening from URI
This commit is contained in:
Omar Hatem
2022-12-15 19:57:14 +02:00
committed by GitHub
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -125,6 +125,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);