From 198ba11e16bf3e1e68b051b4cc651a7875fe0dec Mon Sep 17 00:00:00 2001 From: Berend Sliedrecht <61358536+berendsliedrecht@users.noreply.github.com> Date: Tue, 6 Aug 2024 13:46:42 +0200 Subject: [PATCH] fix(iOS): explicit return type for isInitialized (#16) Signed-off-by: Berend Sliedrecht --- ios/AusweisSdkModule.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/AusweisSdkModule.swift b/ios/AusweisSdkModule.swift index 5317205..33c4713 100644 --- a/ios/AusweisSdkModule.swift +++ b/ios/AusweisSdkModule.swift @@ -66,7 +66,7 @@ public class AusweisSdkModule: Module { ausweisapp2_send(command) } - AsyncFunction("initialize") { + AsyncFunction("initialize") { () -> Bool in if isSdkInitialized { return true }