Improve NFC history readers and prepare production build

This commit is contained in:
2026-05-08 05:40:52 +07:00
parent 1dc293c697
commit bd34467ddc
14 changed files with 688 additions and 182 deletions

View File

@ -20,15 +20,15 @@ class Emoney {
}
func getCardNumber() -> String {
return self.cardNumber!
return self.cardNumber ?? ""
}
func getCardType() -> String {
return self.cardType!
return self.cardType ?? ""
}
func getRiwayatList() -> [RiwayatCard] {
return self.riwayatList!
return self.riwayatList ?? []
}
func isTampilRiwayat() -> Bool {
@ -60,7 +60,7 @@ class Emoney {
}
func getCardLabel() -> String {
return self.cardLabel!
return self.cardLabel ?? ""
}
}