Skip to content

Commit

Permalink
-NOW its fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesCrabbe committed Jun 25, 2014
1 parent 121c196 commit a346c5a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,12 @@ - (IBAction)toggledDarkMode:(id)sender {
[[NSUserDefaults standardUserDefaults] setBool:self.darkModeToggle.on forKey:@"darkMode"];
[[NSUserDefaults standardUserDefaults]synchronize];
[[UITableView appearance] setBackgroundColor:[UIColor getStyleColor]];
[controller.viewControllers[0] viewWillAppear:NO];
UPViewController *base = controller.viewControllers[0];

[base viewWillAppear:NO];
if(base.child){
[base.child viewWillAppear:NO];
}
[self viewWillAppear:NO];


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ -(void)viewWillAppear:(BOOL)animated{
[self getEvent:self.specifiedEvent];
}
[self setUI];
self.view.backgroundColor = [UIColor getStyleColor];

}
- (void)didReceiveMemoryWarning
{
Expand Down

0 comments on commit a346c5a

Please sign in to comment.