Change type for yatEid and yatLastUsedAddressRaw to optional. (#580)

This commit is contained in:
mkyq 2022-10-31 12:16:46 -04:00 committed by GitHub
parent 52aabee658
commit ef5d1f5f60
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -64,15 +64,15 @@ class WalletInfo extends HiveObject {
Map<String, String>? addresses;
@HiveField(11)
String yatEid;
String? yatEid;
@HiveField(12)
String yatLastUsedAddressRaw;
String? yatLastUsedAddressRaw;
@HiveField(13)
bool? showIntroCakePayCard;
String get yatLastUsedAddress => yatLastUsedAddressRaw;
String get yatLastUsedAddress => yatLastUsedAddressRaw ?? '';
set yatLastUsedAddress(String address) {
yatLastUsedAddressRaw = address;