Fix warning by removing the argument 'entersReaderIfAvailable'
This commit is contained in:
parent
07fda1e2e4
commit
4d6c77371d
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ class OpenSourceComponentsTableViewController: BasicStaticTableViewController {
|
|||
@objc
|
||||
func actOnDetailDisclosureButton(_ sender: Any?) {
|
||||
if let link = sender as? String, let url = URL(string: link) {
|
||||
let svc = SFSafariViewController(url: url, entersReaderIfAvailable: false)
|
||||
let svc = SFSafariViewController(url: url)
|
||||
present(svc, animated: true)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue