From 3d7c1c101f27b414718f8a97d0715e314497572a Mon Sep 17 00:00:00 2001 From: Milan Cerovsky Date: Wed, 18 Dec 2024 13:28:42 +0100 Subject: [PATCH] Code cleanup --- .../zcash/ui/common/usecase/ParseKeystonePCZTUseCase.kt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/ui-lib/src/main/java/co/electriccoin/zcash/ui/common/usecase/ParseKeystonePCZTUseCase.kt b/ui-lib/src/main/java/co/electriccoin/zcash/ui/common/usecase/ParseKeystonePCZTUseCase.kt index c6a33d6b..11b37bde 100644 --- a/ui-lib/src/main/java/co/electriccoin/zcash/ui/common/usecase/ParseKeystonePCZTUseCase.kt +++ b/ui-lib/src/main/java/co/electriccoin/zcash/ui/common/usecase/ParseKeystonePCZTUseCase.kt @@ -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 {