Commit 79ef44f9 authored by Steven Gunanto's avatar Steven Gunanto Committed by GitHub

Fixing wrong casting

parent eaad17eb
......@@ -65,7 +65,7 @@ public class ChromeSafariBrowserManager: NSObject, FlutterPlugin {
if #available(iOS 9.0, *) {
if let flutterViewController = UIApplication.shared.delegate?.window.unsafelyUnwrapped?.rootViewController as? FlutterViewController {
if let flutterViewController = UIApplication.shared.delegate?.window.unsafelyUnwrapped?.rootViewController {
let safariOptions = SafariBrowserOptions()
let _ = safariOptions.parse(options: options)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment