mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-03 17:40:43 +00:00
feat: change bitcoin address options order
This commit is contained in:
parent
fe5f0018b6
commit
7f8f805cc7
1 changed files with 2 additions and 2 deletions
|
@ -20,10 +20,10 @@ abstract class ReceiveOptionViewModelBase with Store {
|
||||||
? [ReceivePageOption.mainnet]
|
? [ReceivePageOption.mainnet]
|
||||||
: walletType == WalletType.bitcoin
|
: walletType == WalletType.bitcoin
|
||||||
? [
|
? [
|
||||||
bitcoin.AddressType.p2pkh,
|
|
||||||
bitcoin.AddressType.p2wpkh,
|
bitcoin.AddressType.p2wpkh,
|
||||||
bitcoin.AddressType.p2tr,
|
|
||||||
bitcoin.AddressType.p2sp,
|
bitcoin.AddressType.p2sp,
|
||||||
|
bitcoin.AddressType.p2tr,
|
||||||
|
bitcoin.AddressType.p2pkh,
|
||||||
...ReceivePageOption.values.where((element) => element != ReceivePageOption.mainnet)
|
...ReceivePageOption.values.where((element) => element != ReceivePageOption.mainnet)
|
||||||
]
|
]
|
||||||
: ReceivePageOption.values;
|
: ReceivePageOption.values;
|
||||||
|
|
Loading…
Reference in a new issue