Improve NFC history readers and prepare production build
This commit is contained in:
@ -25,14 +25,14 @@ class ApduResponse {
|
||||
}
|
||||
|
||||
func getSw1() -> UInt8{
|
||||
return sw1!
|
||||
return sw1 ?? 0
|
||||
}
|
||||
|
||||
func getSw2() -> UInt8{
|
||||
return sw2!
|
||||
return sw2 ?? 0
|
||||
}
|
||||
|
||||
func getData() -> Data{
|
||||
return data!
|
||||
return data ?? Data()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user