Skip to content

Commit

Permalink
Updates openUrl
Browse files Browse the repository at this point in the history
  • Loading branch information
s4cha committed May 2, 2020
1 parent ec30cbf commit 4bbe791
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/YoutubePlayer/YTPlayerView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,7 @@ public class YTPlayerView: UIView {
if (ytMatch != nil || adMatch != nil || oauthMatch != nil || staticProxyMatch != nil || syndicationMatch != nil) {
return true
} else {
UIApplication.shared.openURL(url)
UIApplication.shared.open(url, options: [:], completionHandler: nil)
return false
}
}
Expand Down

0 comments on commit 4bbe791

Please sign in to comment.