Skip to content

Commit

Permalink
Reload the table view in applyStyle so that theme gets applied properly.
Browse files Browse the repository at this point in the history
  • Loading branch information
roundhill committed Jan 22, 2019
1 parent a6e441b commit 9343ae2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Simplenote/NoteListViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,8 @@ - (void)applyStyle
{
VSTheme *theme = [[VSThemeManager sharedManager] theme];
statusField.textColor = [theme colorForKey:@"emptyListViewFontColor"];

[self.tableView reloadData];
}

- (IBAction)filterNotes:(id)sender {
Expand Down
1 change: 1 addition & 0 deletions Simplenote/SimplenoteAppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -827,6 +827,7 @@ - (void)applyStyle
[window applyMojaveThemeOverrideIfNecessary];
[self.noteEditorViewController applyStyle];
[self.noteEditorViewController fixChecklistColoring];
[self.noteListViewController applyStyle];
return;
}

Expand Down

0 comments on commit 9343ae2

Please sign in to comment.