Marino Faggiana пре 8 година
родитељ
комит
6ce7604c2f
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      iOSClient/AppDelegate.m

+ 2 - 1
iOSClient/AppDelegate.m

@@ -988,7 +988,6 @@
         if (k_option_use_themingColor && tableCapabilities.themingColor.length > 0) {
         
             [NCBrandColor sharedInstance].brand = [CCGraphics colorFromHexString:tableCapabilities.themingColor];
-            [[NSNotificationCenter defaultCenter] postNotificationName:@"changeTheming" object:nil];
             
         } else {
             
@@ -999,6 +998,8 @@
         
         [NCBrandColor sharedInstance].brand = [NCBrandColor sharedInstance].customer;
     }
+    
+    [[NSNotificationCenter defaultCenter] postNotificationName:@"changeTheming" object:nil];
 }
 
 - (void)changeTheming:(UIViewController *)vc