Notify user when a different currency is scanned

This commit is contained in:
OmarHatem28 2022-08-09 17:06:21 +02:00
parent 7bccf46832
commit e5fac16ef7
19 changed files with 69 additions and 37 deletions

View file

@ -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 {