From e4218a1894e71aae7f814486badef5778af64732 Mon Sep 17 00:00:00 2001 From: zarzet Date: Thu, 1 Jan 2026 20:46:08 +0700 Subject: [PATCH] fix: correct GobackendSetDownloadDirectory call signature for iOS --- ios/Runner/AppDelegate.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ios/Runner/AppDelegate.swift b/ios/Runner/AppDelegate.swift index f902994a..fc40d262 100644 --- a/ios/Runner/AppDelegate.swift +++ b/ios/Runner/AppDelegate.swift @@ -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":