Code cleanup

This commit is contained in:
Milan Cerovsky 2024-12-18 13:28:42 +01:00 committed by Milan
parent c858660b94
commit 3d7c1c101f
1 changed files with 5 additions and 4 deletions

View File

@ -52,10 +52,11 @@ abstract class BaseKeystoneScanner {
)
} catch (e: Exception) {
keystoneSDK.resetQRDecoder()
latestResult = ParseKeystoneQrResult(
progress = 0,
isFinished = false
)
latestResult =
ParseKeystoneQrResult(
progress = 0,
isFinished = false
)
throw e
}
} else {