Improve NFC history readers and prepare production build
This commit is contained in:
@ -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 ?? ""
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user