Skip to content

Commit

Permalink
code refactored.
Browse files Browse the repository at this point in the history
Signed-off-by: Gaurav Goel <[email protected]>
  • Loading branch information
grvgoel81 authored and Gaurav Goel committed Dec 10, 2024
1 parent 184a8d9 commit 5064ee6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ios/Classes/SwiftWeb3AuthFlutterPlugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ public class SwiftWeb3AuthFlutterPlugin: NSObject, FlutterPlugin {
let enableMFAResult = try await web3auth?.enableMFA()
result(enableMFAResult)
}
return
} catch {
result(FlutterError(
code: "enableMFAFailedException",
Expand Down Expand Up @@ -192,7 +193,7 @@ public class SwiftWeb3AuthFlutterPlugin: NSObject, FlutterPlugin {
code: "RequestFailedFailedException",
message: "Web3Auth request launch failed",
details: error.localizedDescription))
return
return
}
case "getUserInfo":
var resultMap: String = ""
Expand Down

0 comments on commit 5064ee6

Please sign in to comment.