|
@@ -994,9 +994,11 @@
|
|
|
|
|
|
if ([NCBrandOptions sharedInstance].use_themingColor) {
|
|
|
|
|
|
- tableCapabilities *capabilities = [[NCManageDatabase sharedInstance] getCapabilitesWithAccount:self.activeAccount];
|
|
|
+ NSString *themingColor = [[NCManageDatabase sharedInstance] getCapabilitiesServerThemingWithAccount:self.activeAccount element:@"color"];
|
|
|
+ NSString *themingColorElement = [[NCManageDatabase sharedInstance] getCapabilitiesServerThemingWithAccount:self.activeAccount element:@"color-element"];
|
|
|
+ NSString *themingColorText = [[NCManageDatabase sharedInstance] getCapabilitiesServerThemingWithAccount:self.activeAccount element:@"color-text"];
|
|
|
|
|
|
- [CCGraphics settingThemingColor:capabilities.themingColor themingColorElement:capabilities.themingColorElement themingColorText:capabilities.themingColorText];
|
|
|
+ [CCGraphics settingThemingColor:themingColor themingColorElement:themingColorElement themingColorText:themingColorText];
|
|
|
|
|
|
UIColor *color = NCBrandColor.sharedInstance.brand;
|
|
|
BOOL isTooLight = NCBrandColor.sharedInstance.brand.isTooLight;
|