mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-21 06:18:42 +02:00
CAKE-158 | removed isFirstAddress from wallet_address_list_view_model.dart; rename isFirstAddress property of AddressCell on isPrimary; defined primary address cell in the receive_page.dart
This commit is contained in:
@@ -67,9 +67,6 @@ abstract class WalletAddressListViewModelBase with Store {
|
||||
@observable
|
||||
String amount;
|
||||
|
||||
@observable
|
||||
bool isFirstAddress;
|
||||
|
||||
@computed
|
||||
WalletType get type => _wallet.type;
|
||||
|
||||
@@ -100,7 +97,6 @@ abstract class WalletAddressListViewModelBase with Store {
|
||||
final addressList = ObservableList<ListItem>();
|
||||
|
||||
if (wallet is MoneroWallet) {
|
||||
isFirstAddress = true;
|
||||
addressList.addAll(wallet.subaddressList.subaddresses.map((subaddress) =>
|
||||
WalletAddressListItem(
|
||||
id: subaddress.id,
|
||||
|
||||
Reference in New Issue
Block a user