mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-29 04:49:51 +00:00
Notify user when a different currency is scanned
This commit is contained in:
parent
7bccf46832
commit
e5fac16ef7
19 changed files with 69 additions and 37 deletions
|
@ -232,18 +232,11 @@ class AppState extends State<App> with SingleTickerProviderStateMixin {
|
|||
void handleDeepLinking(Uri uri) {
|
||||
if (uri == null || !mounted) return;
|
||||
|
||||
switch (uri.scheme) {
|
||||
case "bitcoin":
|
||||
case "litecoin":
|
||||
case "haven":
|
||||
case "monero":
|
||||
default:
|
||||
Navigator.pushNamed(
|
||||
navigatorKey.currentContext,
|
||||
Routes.send,
|
||||
arguments: PaymentRequest.fromUri(uri),
|
||||
);
|
||||
}
|
||||
Navigator.pushNamed(
|
||||
navigatorKey.currentContext,
|
||||
Routes.send,
|
||||
arguments: PaymentRequest.fromUri(uri),
|
||||
);
|
||||
}
|
||||
|
||||
Future<void> _handleInitialUri() async {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue