mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-28 20:39:51 +00:00
more trace in minor error [skip ci]
This commit is contained in:
parent
0899b39ad9
commit
66e1745ad9
1 changed files with 2 additions and 3 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue