mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-10-18 13:41:34 +02:00
fix(ios): handle non-optional callback binding
This commit is contained in:
1 parent
a78fc3f677
commit
e1e3ffe0b0
1 file changed
+3
-2
@@ -118,10 +118,11 @@ import Gobackend
|
||||
streamQueue.async {
|
||||
var err: NSError?
|
||||
var response: String?
|
||||
guard let extensionId = GobackendConsumeExtensionCallbackState(
|
||||
let extensionId = GobackendConsumeExtensionCallbackState(
|
||||
route.state,
|
||||
&err
|
||||
), err == nil else {
|
||||
)
|
||||
guard err == nil, !extensionId.isEmpty else {
|
||||
NSLog("SpotiFLAC Mobile: Rejected invalid or expired extension callback")
|
||||
return
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user