mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-26 03:20:50 +02:00
Bug Fix: App may crash when the user changes the selected tab,
whereas a room is selected.
This commit is contained in:
@@ -89,6 +89,17 @@
|
||||
|
||||
#pragma mark - Override RecentsViewController
|
||||
|
||||
- (void)refreshCurrentSelectedCell:(BOOL)forceVisible
|
||||
{
|
||||
// Check whether the recents data source is correctly configured.
|
||||
if (recentsDataSource.recentsDataSourceMode != RecentsDataSourceModeRooms)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
[super refreshCurrentSelectedCell:forceVisible];
|
||||
}
|
||||
|
||||
- (UIView *)tableView:(UITableView *)tableView viewForStickyHeaderInSection:(NSInteger)section
|
||||
{
|
||||
CGRect frame = [tableView rectForHeaderInSection:section];
|
||||
|
||||
Reference in New Issue
Block a user