Browse Source

ScannerViewController : color navigationBar

Marino Faggiana 6 years ago
parent
commit
444b4183b6
1 changed files with 3 additions and 0 deletions
  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()
         quadView.removeQuadrilateral()
         captureSessionManager?.start()
         captureSessionManager?.start()
         UIApplication.shared.isIdleTimerDisabled = true
         UIApplication.shared.isIdleTimerDisabled = true
+        
+        self.navigationController?.navigationBar.titleTextAttributes = [NSAttributedStringKey.foregroundColor: NCBrandColor.sharedInstance.brandText]
+        self.navigationController?.navigationBar.barTintColor = NCBrandColor.sharedInstance.brand
     }
     }
     
     
     override func viewDidLayoutSubviews() {
     override func viewDidLayoutSubviews() {