Skip to content

Commit

Permalink
Merge pull request #567 from gunantosteven/master
Browse files Browse the repository at this point in the history
Fixing wrong casting
  • Loading branch information
pichillilorenzo authored Jan 28, 2021
2 parents b7337c4 + 79ef44f commit 3f2fe9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/Classes/ChromeSafariBrowserManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 3f2fe9e

Please sign in to comment.