From 225eed9489446b034900f6d87b204311b4f3fbdf Mon Sep 17 00:00:00 2001 From: Gaurav Goel Date: Mon, 11 Nov 2024 09:38:01 +0530 Subject: [PATCH] code refactor Signed-off-by: Gaurav Goel --- core/src/main/java/com/web3auth/core/Web3Auth.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/web3auth/core/Web3Auth.kt b/core/src/main/java/com/web3auth/core/Web3Auth.kt index 460bd99..64ce994 100644 --- a/core/src/main/java/com/web3auth/core/Web3Auth.kt +++ b/core/src/main/java/com/web3auth/core/Web3Auth.kt @@ -172,10 +172,10 @@ class Web3Auth(web3AuthOptions: Web3AuthOptions, context: Context) : WebViewResu runOnUIThread { if (error == null) { web3AuthResponse = resp + initializeCf.complete(null) } else { initializeCf.completeExceptionally(error) } - initializeCf.complete(null) } } } else {