mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-06-07 15:14:00 +02:00
fix: correct GobackendSetDownloadDirectory call signature for iOS
This commit is contained in:
@@ -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":
|
||||
|
||||
Reference in New Issue
Block a user