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