From a965a4c9362e31b80935275cdcb158747bd7900a Mon Sep 17 00:00:00 2001 From: Matthew Chen Date: Wed, 5 Jun 2019 06:51:43 -0700 Subject: [PATCH] Add PDF view. --- Signal/src/ViewControllers/PdfViewController.swift | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Signal/src/ViewControllers/PdfViewController.swift b/Signal/src/ViewControllers/PdfViewController.swift index 9a359a739a..93c8d7facc 100644 --- a/Signal/src/ViewControllers/PdfViewController.swift +++ b/Signal/src/ViewControllers/PdfViewController.swift @@ -135,20 +135,15 @@ public class PdfViewController: OWSViewController { return true } - override public var preferredStatusBarStyle: UIStatusBarStyle { - return .lightContent - } - // MARK: - Actions @objc func shareButtonPressed() { + // TODO: Maybe we could add better share actions for PDFs? AttachmentSharing.showShareUI(forAttachment: attachmentStream) } @objc private func didPressCloseButton(sender: UIButton) { - Logger.info("") - // We'll ask again next time they launch self.dismiss(animated: true) } }