Prechádzať zdrojové kódy

clear code

Signed-off-by: Marino Faggiana <marino@marinofaggiana.com>
Marino Faggiana 1 rok pred
rodič
commit
2e67a8702c

+ 4 - 0
iOSClient/Viewer/NCViewerPDF/NCViewerPDF.swift

@@ -253,6 +253,10 @@ class NCViewerPDF: UIViewController, NCViewerPDFSearchDelegate {
         let swipePdfThumbnailScrollView = UISwipeGestureRecognizer(target: self, action: #selector(gestureClosePdfThumbnail))
         swipePdfThumbnailScrollView.direction = .right
         pdfThumbnailScrollView.addGestureRecognizer(swipePdfThumbnailScrollView)
+    }
+
+    override func viewDidAppear(_ animated: Bool) {
+        super.viewDidAppear(animated)
 
         handlePageChange()
         showTip()