diff --git a/Sources/Features/iOS/WebpageOperation.swift b/Sources/Features/iOS/WebpageOperation.swift index 561718b85..c99b38b33 100644 --- a/Sources/Features/iOS/WebpageOperation.swift +++ b/Sources/Features/iOS/WebpageOperation.swift @@ -19,9 +19,9 @@ protocol WebpageController: class { public class WebpageOperation: Operation, SFSafariViewControllerDelegate { let operation: UIOperation - - public init(url: NSURL, displayControllerFrom from: ViewControllerDisplayStyle, sender: AnyObject? = .None) { - operation = UIOperation(controller: SFSafariViewController(URL: url, entersReaderIfAvailable: true), displayControllerFrom: from, sender: sender) + + public init(url: NSURL, displayControllerFrom from: ViewControllerDisplayStyle, entersReaderIfAvailable: Bool = true, sender: AnyObject? = .None) { + operation = UIOperation(controller: SFSafariViewController(URL: url, entersReaderIfAvailable: entersReaderIfAvailable), displayControllerFrom: from, sender: sender) super.init() addCondition(MutuallyExclusive()) }