Skip to content

Commit

Permalink
correct SFSafariViewController usage
Browse files Browse the repository at this point in the history
  • Loading branch information
itswisdomagain committed May 18, 2019
1 parent 06c06fd commit 37f8152
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,6 @@ class TransactionFullDetailsViewController: UIViewController, UITableViewDataSou

func openLink(urlString: String) {
if let url = URL(string: urlString) {
var viewController: SFSafariViewController
let viewController = SFSafariViewController(url: url)
viewController.delegate = self as SFSafariViewControllerDelegate
self.navigationController?.pushViewController(viewController, animated: true)
Expand Down

0 comments on commit 37f8152

Please sign in to comment.