From 43538d0b78a0fdaa1634992a363324e6db163636 Mon Sep 17 00:00:00 2001 From: Jakub Porzuczek Date: Tue, 6 Aug 2024 10:27:22 +0200 Subject: [PATCH] detekt --- .../android/domain/usecases/AuthorizeSpecifiedPersonaUseCase.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/babylon/wallet/android/domain/usecases/AuthorizeSpecifiedPersonaUseCase.kt b/app/src/main/java/com/babylon/wallet/android/domain/usecases/AuthorizeSpecifiedPersonaUseCase.kt index f7e2d9ab29..719eb81bbe 100644 --- a/app/src/main/java/com/babylon/wallet/android/domain/usecases/AuthorizeSpecifiedPersonaUseCase.kt +++ b/app/src/main/java/com/babylon/wallet/android/domain/usecases/AuthorizeSpecifiedPersonaUseCase.kt @@ -63,7 +63,7 @@ class AuthorizeSpecifiedPersonaUseCase @Inject constructor( .referencesToAuthorizedPersonas .firstOrNull { authorizedPersonaSimple -> authorizedPersonaSimple.identityAddress.string == - (request.authRequest as? AuthorizedRequest.AuthRequest.UsePersonaRequest)?.identityAddress?.string + (request.authRequest as? AuthorizedRequest.AuthRequest.UsePersonaRequest)?.identityAddress?.string } if (authorizedPersonaSimple == null) { respondWithInvalidPersona(incomingRequest)