Merge pull request #567 from gunantosteven/master

Fixing wrong casting
This commit is contained in:
Lorenzo Pichilli 2021-01-29 00:13:55 +01:00 committed by GitHub
commit 3f2fe9e864
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)