mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-29 04:49:51 +00:00
nano-gpt support any crypto (#2005)
This commit is contained in:
parent
9b5eee68ad
commit
ad20d2c3a9
1 changed files with 3 additions and 2 deletions
|
@ -9,6 +9,7 @@ class PaymentRequest {
|
|||
var amount = "";
|
||||
var note = "";
|
||||
var scheme = "";
|
||||
String? walletType;
|
||||
String? callbackUrl;
|
||||
String? callbackMessage;
|
||||
|
||||
|
@ -19,11 +20,11 @@ class PaymentRequest {
|
|||
scheme = uri.scheme;
|
||||
callbackUrl = uri.queryParameters['callback'];
|
||||
callbackMessage = uri.queryParameters['callbackMessage'];
|
||||
walletType = uri.queryParameters['type'];
|
||||
}
|
||||
|
||||
if (scheme == "nano-gpt") {
|
||||
// treat as nano so filling out the address works:
|
||||
scheme = "nano";
|
||||
scheme = walletType ?? "nano";
|
||||
}
|
||||
|
||||
if (nano != null) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue