Преглед на файлове

ScannerViewController : color navigationBar

Marino Faggiana преди 7 години
родител
ревизия
444b4183b6
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3 0
      iOSClient/Scan/WeScan/Scan/ScannerViewController.swift

+ 3 - 0
iOSClient/Scan/WeScan/Scan/ScannerViewController.swift

@@ -60,6 +60,9 @@ final class ScannerViewController: UIViewController {
         quadView.removeQuadrilateral()
         captureSessionManager?.start()
         UIApplication.shared.isIdleTimerDisabled = true
+        
+        self.navigationController?.navigationBar.titleTextAttributes = [NSAttributedStringKey.foregroundColor: NCBrandColor.sharedInstance.brandText]
+        self.navigationController?.navigationBar.barTintColor = NCBrandColor.sharedInstance.brand
     }
     
     override func viewDidLayoutSubviews() {