Skip to content

Commit

Permalink
Fix /issues/4208 - Home screen doesn't update properly on theme changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanceriu committed Jan 14, 2022
1 parent d29c2da commit 5d8dfc2
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Riot/Modules/Common/Recents/RecentsViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -193,11 +193,8 @@ - (void)userInterfaceThemeDidChange
[ThemeService.shared.theme applyStyleOnSearchBar:tableSearchBar];
[ThemeService.shared.theme applyStyleOnSearchBar:self.recentsSearchBar];

if (self.recentsTableView.dataSource)
{
// Force table refresh
[self cancelEditionMode:YES];
}
// Force table refresh
[self.recentsTableView reloadData];

[self.emptyView updateWithTheme:ThemeService.shared.theme];

Expand Down

0 comments on commit 5d8dfc2

Please sign in to comment.