mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-18 05:51:34 +02:00
more trace in minor error [skip ci]
This commit is contained in:
@@ -11,7 +11,6 @@ import 'package:cake_wallet/generated/i18n.dart';
|
||||
import 'package:cake_wallet/store/settings_store.dart';
|
||||
import 'package:cake_wallet/themes/extensions/cake_text_theme.dart';
|
||||
import 'package:cw_core/crypto_currency.dart';
|
||||
import 'package:cw_core/currency.dart';
|
||||
import 'package:cw_core/utils/print_verbose.dart';
|
||||
import 'package:cw_core/wallet_base.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
@@ -242,7 +241,7 @@ class OnRamperBuyProvider extends BuyProvider {
|
||||
if (await canLaunchUrl(uri)) {
|
||||
await launchUrl(uri, mode: LaunchMode.externalApplication);
|
||||
} else {
|
||||
throw Exception('Could not launch URL');
|
||||
throw Exception('Could not launch URL ${uri.toString()}');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -276,7 +275,7 @@ class OnRamperBuyProvider extends BuyProvider {
|
||||
|
||||
if (currency.tag != null) return '_' + _tagToNetwork(currency.tag!);
|
||||
|
||||
return '_' + (currency.fullName?.replaceAll(' ', '') ?? currency.title);;
|
||||
return '_' + (currency.fullName?.replaceAll(' ', '') ?? currency.title);
|
||||
}
|
||||
|
||||
String? normalizePaymentMethod(PaymentType paymentType) {
|
||||
|
||||
Reference in New Issue
Block a user