Selaa lähdekoodia

Merge pull request #1075 from nextcloud/fix-theming-logo-black

Use themingLogoBlack only when using theming color.
Marino Faggiana 5 vuotta sitten
vanhempi
commit
46a3a48463
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      iOSClient/Main/CCMain.m

+ 1 - 1
iOSClient/Main/CCMain.m

@@ -584,7 +584,7 @@
     UIImage *image = [UIImage imageNamed:@"themingLogo"];
     
     tableCapabilities *capabilities = [[NCManageDatabase sharedInstance] getCapabilitesWithAccount:appDelegate.activeAccount];
-    if ([capabilities.themingColorText isEqualToString:@"#000000"] && [UIImage imageNamed:@"themingLogoBlack"]) {
+    if ([NCBrandOptions sharedInstance].use_themingColor && [capabilities.themingColorText isEqualToString:@"#000000"] && [UIImage imageNamed:@"themingLogoBlack"]) {
         image = [UIImage imageNamed:@"themingLogoBlack"];
     }