Browse Source

Fix pdf tips color

Signed-off-by: marinofaggiana <ios@nextcloud.com>
marinofaggiana 2 years ago
parent
commit
af93311979
1 changed files with 2 additions and 2 deletions
  1. 2 2
      iOSClient/Viewer/NCViewerPDF/NCViewerPDF.swift

+ 2 - 2
iOSClient/Viewer/NCViewerPDF/NCViewerPDF.swift

@@ -202,8 +202,8 @@ class NCViewerPDF: UIViewController, NCViewerPDFSearchDelegate {
         if UIDevice.current.userInterfaceIdiom == .phone && !NCManageDatabase.shared.tipExists(NCGlobal.shared.tipNCViewerPDFThumbnail){
 
             var preferences = EasyTipView.Preferences()
-            preferences.drawing.foregroundColor = NCBrandColor.shared.brandText
-            preferences.drawing.backgroundColor = NCBrandColor.shared.customer
+            preferences.drawing.foregroundColor = .white
+            preferences.drawing.backgroundColor = NCBrandColor.shared.nextcloud
             preferences.drawing.textAlignment = .left
             preferences.drawing.arrowPosition = .right
             preferences.drawing.cornerRadius = 10