mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-26 21:50:27 +00:00
fff5a1c419
* Add UI and setting logic for subaddresses * Enable auto generate subaddresses * Rename variable * Add comment to unused code * Fix issue with initial state change * Fix observable for isAppSecure * Filter sub account contacts * Fix select account use unused address * Use add address if last address is unused * Fix auto generate wallet issues * Fix button color * Add translation and refactored naming * Fix PR review * Remove unused code * Remove unused overrides in electrum * Fix address info null check * CW-228 Fix ContactListViewModel condition * CW-228 Fix Account Tile; Rework updateAddressesInBox; Fix _getAllUnusedAddresses * CW-228 Fix unintentional address_page.dart regression * CW-228 Fix Merge Conflicts * CW-228 Add more translation Tools * CW-228 More merge conflict fixes * CW-228 Fix Merge Conflicts * CW-228 Auto Translation improvements * CW-228 Resolve requested Changes --------- Co-authored-by: Konstantin Ullrich <konstantinullrich12@gmail.com>
21 lines
498 B
Dart
21 lines
498 B
Dart
import 'package:cw_core/hive_type_ids.dart';
|
|
import 'package:hive/hive.dart';
|
|
|
|
part 'address_info.g.dart';
|
|
|
|
@HiveType(typeId: ADDRESS_INFO_TYPE_ID)
|
|
class AddressInfo extends HiveObject {
|
|
AddressInfo({required this.address, this.accountIndex, required this.label});
|
|
|
|
static const typeId = ADDRESS_INFO_TYPE_ID;
|
|
static const boxName = 'AddressInfo';
|
|
|
|
@HiveField(0)
|
|
int? accountIndex;
|
|
|
|
@HiveField(1, defaultValue: '')
|
|
String address;
|
|
|
|
@HiveField(2, defaultValue: '')
|
|
String label;
|
|
}
|