mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-22 06:28:39 +02:00
Notify user when a different currency is scanned
This commit is contained in:
+5
-12
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user