From 7f8f805cc75acd6ea7de43d38630ebbdd4fdd695 Mon Sep 17 00:00:00 2001 From: Rafael Saes Date: Thu, 30 Nov 2023 14:40:48 -0300 Subject: [PATCH] feat: change bitcoin address options order --- lib/view_model/dashboard/receive_option_view_model.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/view_model/dashboard/receive_option_view_model.dart b/lib/view_model/dashboard/receive_option_view_model.dart index a3d6a3d5f..78427fdcb 100644 --- a/lib/view_model/dashboard/receive_option_view_model.dart +++ b/lib/view_model/dashboard/receive_option_view_model.dart @@ -20,10 +20,10 @@ abstract class ReceiveOptionViewModelBase with Store { ? [ReceivePageOption.mainnet] : walletType == WalletType.bitcoin ? [ - bitcoin.AddressType.p2pkh, bitcoin.AddressType.p2wpkh, - bitcoin.AddressType.p2tr, bitcoin.AddressType.p2sp, + bitcoin.AddressType.p2tr, + bitcoin.AddressType.p2pkh, ...ReceivePageOption.values.where((element) => element != ReceivePageOption.mainnet) ] : ReceivePageOption.values;