Marino Faggiana 6 жил өмнө
parent
commit
b3869080a8

+ 1 - 1
iOSClient/Scan/WeScan/ImageScannerController.swift

@@ -63,7 +63,7 @@ public final class ImageScannerController: UINavigationController {
     public required init() {
         let scannerViewController = ScannerViewController()
         super.init(rootViewController: scannerViewController)
-        navigationBar.tintColor = .black
+        navigationBar.tintColor = NCBrandColor.sharedInstance.brandText
         navigationBar.isTranslucent = false
         self.view.addSubview(blackFlashView)
         setupConstraints()

+ 1 - 1
iOSClient/Scan/WeScan/Scan/CloseButton.swift

@@ -31,7 +31,7 @@ final class CloseButton: UIControl {
         xLayer.lineWidth = 3.0
         xLayer.path = pathForX(inRect: rect.insetBy(dx: xLayer.lineWidth / 2, dy: xLayer.lineWidth / 2)).cgPath
         xLayer.fillColor = UIColor.clear.cgColor
-        xLayer.strokeColor = UIColor.black.cgColor
+        xLayer.strokeColor = NCBrandColor.sharedInstance.brandText.cgColor
         xLayer.lineCap = kCALineCapRound
     }
     

+ 1 - 1
iOSClient/Scan/WeScan/Scan/ScannerViewController.swift

@@ -35,7 +35,7 @@ final class ScannerViewController: UIViewController {
     }()
 
     lazy private var closeButton: CloseButton = {
-        let button = CloseButton(frame: CGRect(x: 0, y: 0, width: 18, height: 18))
+        let button = CloseButton(frame: CGRect(x: 0, y: 0, width: 20, height: 20))
         button.addTarget(self, action: #selector(cancelImageScannerController(_:)), for: .touchUpInside)
         return button
     }()