Fix warning by removing the argument 'entersReaderIfAvailable'

This commit is contained in:
Danny Moesch 2021-01-31 14:02:09 +01:00 committed by Mingshen Sun
parent 07fda1e2e4
commit 4d6c77371d
2 changed files with 2 additions and 2 deletions

View file

@ -105,7 +105,7 @@ class BasicStaticTableViewController: UITableViewController, MFMailComposeViewCo
Utils.alert(title: alertTitle, message: alertMessage, controller: self, completion: nil)
}
case "http", "https":
let svc = SFSafariViewController(url: URL(string: link)!, entersReaderIfAvailable: false)
let svc = SFSafariViewController(url: URL(string: link)!)
present(svc, animated: true, completion: nil)
default:
break