mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-03 09:29:48 +00:00
Change type for yatEid and yatLastUsedAddressRaw to optional. (#580)
This commit is contained in:
parent
52aabee658
commit
ef5d1f5f60
1 changed files with 3 additions and 3 deletions
|
@ -64,15 +64,15 @@ class WalletInfo extends HiveObject {
|
||||||
Map<String, String>? addresses;
|
Map<String, String>? addresses;
|
||||||
|
|
||||||
@HiveField(11)
|
@HiveField(11)
|
||||||
String yatEid;
|
String? yatEid;
|
||||||
|
|
||||||
@HiveField(12)
|
@HiveField(12)
|
||||||
String yatLastUsedAddressRaw;
|
String? yatLastUsedAddressRaw;
|
||||||
|
|
||||||
@HiveField(13)
|
@HiveField(13)
|
||||||
bool? showIntroCakePayCard;
|
bool? showIntroCakePayCard;
|
||||||
|
|
||||||
String get yatLastUsedAddress => yatLastUsedAddressRaw;
|
String get yatLastUsedAddress => yatLastUsedAddressRaw ?? '';
|
||||||
|
|
||||||
set yatLastUsedAddress(String address) {
|
set yatLastUsedAddress(String address) {
|
||||||
yatLastUsedAddressRaw = address;
|
yatLastUsedAddressRaw = address;
|
||||||
|
|
Loading…
Reference in a new issue