[skip ci] minor fixes

Serhii committed Jan 26, 2023 at 19:07 UTC ed30cf1e13668d1d1068e51e69b3a0ededd2e4e2
1 file changed +1 -3
lib/view_model/wallet_address_list/wallet_address_edit_or_create_view_model.dart
+1 -3
@@ -105,15 +105,13 @@ abstract class WalletAddressEditOrCreateViewModelBase with Store {
105 await monero!.getSubaddressList(wallet).setLabelSubaddress(wallet,
106 accountIndex: monero!.getCurrentAccount(wallet).id, addressIndex: index, label: label);
107 await wallet.save();
108 - return;
108 }
109 if (wallet.type == WalletType.haven) {
110 await haven!.getSubaddressList(wallet).setLabelSubaddress(wallet,
111 accountIndex: haven!.getCurrentAccount(wallet).id,
113 - addressIndex: _item?.id as int,
112 + addressIndex: index,
113 label: label);
114 await wallet.save();
116 - return;
115 }
116 }
117 }