Marino Faggiana 8 жил өмнө
parent
commit
426799d1f2

+ 1 - 0
iOSClient/Brand/NCBrand.swift

@@ -36,6 +36,7 @@ class NCBrandColor: NSObject {
     public var navigationBarProgress:   UIColor = .white
     public var navigationBarText:       UIColor = .white
     public var nextcloud:               UIColor = UIColor(red: 0.0/255.0, green: 130.0/255.0, blue: 201.0/255.0, alpha: 1.0)    // BLU NC : #0082c9
+    public let nextcloudText:           String  = "#0082c9"
     public var menuBackground:          UIColor = .white
     public var moreNormal:              UIColor = .black
     public var moreSettings:            UIColor = .black

+ 2 - 4
iOSClient/Main/CCMain.m

@@ -22,7 +22,6 @@
 //
 
 #import "CCMain.h"
-
 #import "AppDelegate.h"
 #import "CCPhotosCameraUpload.h"
 #import "CCSynchronize.h"
@@ -32,13 +31,12 @@
 #import <OCCommunicationLib/OCNotificationsAction.h>
 #import <OCCommunicationLib/OCFrameworkConstants.h>
 #import <OCCommunicationLib/OCCapabilities.h>
-
 #import "CTAssetCheckmark.h"
 
 #ifdef CUSTOM_BUILD
-    #import "CustomSwift.h"
+#import "CustomSwift.h"
 #else
-    #import "Nextcloud-Swift.h"
+#import "Nextcloud-Swift.h"
 #endif
 
 #pragma GCC diagnostic ignored "-Wundeclared-selector"

+ 2 - 1
iOSClient/Main/CCMore.swift

@@ -145,7 +145,8 @@ class CCMore: UIViewController, UITableViewDelegate, UITableViewDataSource {
             }
             
             progressQuota.progress = Float((self.tableAccont?.quotaRelative)!) / 100
-        
+            progressQuota.progressTintColor = NCBrandColor.sharedInstance.brand
+
             let quota : String = CCUtility.transformedSize(Double((self.tableAccont?.quotaTotal)!))
             let quotaUsed : String = CCUtility.transformedSize(Double((self.tableAccont?.quotaUsed)!))