marinofaggiana 4 년 전
부모
커밋
ab04f73220
1개의 변경된 파일2개의 추가작업 그리고 8개의 파일을 삭제
  1. 2 8
      iOSClient/Settings/NCSettings.m

+ 2 - 8
iOSClient/Settings/NCSettings.m

@@ -181,11 +181,11 @@
     self.tableView.backgroundColor = NCBrandColor.shared.systemGroupedBackground;
     appDelegate = (AppDelegate *)[[UIApplication sharedApplication] delegate];
     
-    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(changeTheming) name:NCGlobal.shared.notificationCenterChangeTheming object:nil];
     [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(applicationDidEnterBackground) name:NCGlobal.shared.notificationCenterApplicationDidEnterBackground object:nil];
     [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(initializeMain) name:NCGlobal.shared.notificationCenterInitializeMain object:nil];
 
-    [self changeTheming];
+    [self initializeForm];
+    [self reloadForm];
 }
 
 - (void)viewWillAppear:(BOOL)animated
@@ -199,12 +199,6 @@
 
 #pragma mark - NotificationCenter
 
-- (void)changeTheming
-{
-    [self initializeForm];
-    [self reloadForm];
-}
-
 - (void)initializeMain
 {
     [self initializeForm];