Update MyCookieManager.swift

Updated force unwrap
This commit is contained in:
Max Zimmermann 2023-05-31 10:15:04 +02:00 committed by GitHub
parent 840c71b2ef
commit ab98855c8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 8 deletions

View File

@ -133,15 +133,10 @@ public class MyCookieManager: ChannelDelegate {
if let cookie = HTTPCookie(properties: properties) {
httpCookieStore.setCookie(cookie, completionHandler: {() in
result(true)
})
MyCookieManager.httpCookieStore.setCookie(cookie, completionHandler: {() in
result(true)
})
}
let cookie = HTTPCookie(properties: properties)!
MyCookieManager.httpCookieStore.setCookie(cookie, completionHandler: {() in
result(true)
})
}
public static func getCookies(url: String, result: @escaping FlutterResult) {