marinofaggiana 4 年之前
父節點
當前提交
f4dffa8d1f

+ 1 - 0
iOSClient/Main/Section Header Footer/NCSectionHeaderFooter.swift

@@ -65,6 +65,7 @@ class NCSectionHeaderMenu: UICollectionReusableView, UIGestureRecognizerDelegate
         viewRichWorkspace?.addGestureRecognizer(tap)
         
         NotificationCenter.default.addObserver(self, selector: #selector(changeTheming), name: NSNotification.Name(rawValue: k_notificationCenter_changeTheming), object: nil)
+        
         changeTheming()
     }
     

+ 1 - 0
iOSClient/Notification/NCNotification.swift

@@ -45,6 +45,7 @@ class NCNotification: UITableViewController, NCNotificationCellDelegate, DZNEmpt
         self.tableView.emptyDataSetDelegate = self
         
         NotificationCenter.default.addObserver(self, selector: #selector(changeTheming), name: NSNotification.Name(rawValue: k_notificationCenter_changeTheming), object: nil)
+        
         changeTheming()
     }
     

+ 1 - 0
iOSClient/RichWorkspace/NCRichWorkspace.swift

@@ -38,6 +38,7 @@ import MarkdownKit
 
     override func awakeFromNib() {
         NotificationCenter.default.addObserver(self, selector: #selector(changeTheming), name: NSNotification.Name(rawValue: k_notificationCenter_changeTheming), object: nil)
+        
         changeTheming()
         
         // Gradient

+ 1 - 0
iOSClient/RichWorkspace/NCViewerRichWorkspace.swift

@@ -49,6 +49,7 @@ import MarkdownKit
         self.navigationItem.rightBarButtonItem = editItem
 
         NotificationCenter.default.addObserver(self, selector: #selector(changeTheming), name: NSNotification.Name(rawValue: k_notificationCenter_changeTheming), object: nil)
+        
         changeTheming()
     }
     

+ 1 - 0
iOSClient/ScanDocument/ScanCollectionView.swift

@@ -85,6 +85,7 @@ class DragDropViewController: UIViewController {
         
         // changeTheming
         NotificationCenter.default.addObserver(self, selector: #selector(changeTheming), name: NSNotification.Name(rawValue: k_notificationCenter_changeTheming), object: nil)
+        
         changeTheming()
         
         loadImage()

+ 1 - 0
iOSClient/Share/NCShare.swift

@@ -108,6 +108,7 @@ class NCShare: UIViewController, UIGestureRecognizerDelegate, NCShareLinkCellDel
         
         // changeTheming
         NotificationCenter.default.addObserver(self, selector: #selector(changeTheming), name: NSNotification.Name(rawValue: k_notificationCenter_changeTheming), object: nil)
+        
         changeTheming()
     }
     

+ 1 - 0
iOSClient/Share/NCShareComments.swift

@@ -85,6 +85,7 @@ class NCShareComments: UIViewController, NCShareCommentsCellDelegate {
         
         // changeTheming
         NotificationCenter.default.addObserver(self, selector: #selector(changeTheming), name: NSNotification.Name(rawValue: k_notificationCenter_changeTheming), object: nil)
+        
         changeTheming()
     }
     

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

@@ -55,6 +55,7 @@ class NCViewerPDF: UIViewController, NCViewerPDFSearchDelegate {
         NotificationCenter.default.addObserver(self, selector: #selector(searchText), name: NSNotification.Name(rawValue: k_notificationCenter_menuSearchTextPDF), object: nil)
         NotificationCenter.default.addObserver(self, selector: #selector(handlePageChange), name: Notification.Name.PDFViewPageChanged, object: nil)
        
+        changeTheming()
 
         pdfView = PDFView.init(frame: CGRect(x: 0, y: 0, width: view.frame.width, height: view.frame.height))
         pdfDocument = PDFDocument(url: URL(fileURLWithPath: filePath))