فهرست منبع

fix theming color

marinofaggiana 4 سال پیش
والد
کامیت
88e41e3223

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

@@ -75,6 +75,7 @@ class NCSectionHeaderMenu: UICollectionReusableView, UIGestureRecognizerDelegate
         
         backgroundColor = NCBrandColor.sharedInstance.backgroundView
         separator.backgroundColor = NCBrandColor.sharedInstance.separator
+        buttonOrder.setTitleColor(NCBrandColor.sharedInstance.brandElement, for: .normal)
         
         if textViewColor != NCBrandColor.sharedInstance.textView {
             markdownParser = MarkdownParser(font: UIFont.systemFont(ofSize: 15), color: NCBrandColor.sharedInstance.textView)

+ 2 - 0
iOSClient/Viewer/NCViewerImage/NCViewerImage.swift

@@ -256,6 +256,7 @@ class NCViewerImage: UIViewController {
         if currentMode == .normal {
             view.backgroundColor = NCBrandColor.sharedInstance.backgroundView
         }
+        toolBar.tintColor = NCBrandColor.sharedInstance.brandElement
     }
     
     //
@@ -488,6 +489,7 @@ class NCViewerImage: UIViewController {
             itemMute = UIBarButtonItem(image: UIImage(named: "audioOn"), style: UIBarButtonItem.Style.plain, target: self, action: #selector(SetMute))
         }
         toolBar.setItems([itemPlay, itemFlexibleSpace, itemMute], animated: true)
+        toolBar.tintColor = NCBrandColor.sharedInstance.brandElement
     }
 
     @objc func playerPause() { player?.pause() }