fix: correct GobackendSetDownloadDirectory call signature for iOS

This commit is contained in:
zarzet
2026-01-01 20:46:08 +07:00
parent db335f5ba6
commit e4218a1894
+2 -1
View File
@@ -93,7 +93,8 @@ import Gobackend // Import Go framework
case "setDownloadDirectory":
let args = call.arguments as! [String: Any]
let path = args["path"] as! String
try GobackendSetDownloadDirectory(path)
GobackendSetDownloadDirectory(path, &error)
if let error = error { throw error }
return nil
case "checkDuplicate":