mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-19 16:13:42 +02:00
Conditionally hide room list tabs (#6533)
* Conditionally hide room list tabs
This commit is contained in:
@@ -66,7 +66,7 @@ NSString *const kRecentsDataSourceTapOnDirectoryServerChange = @"kRecentsDataSou
|
||||
@property (nonatomic, strong) CrossSigningService *crossSigningService;
|
||||
|
||||
@property (nonatomic, strong) AllChatsFilterOptions *allChatsFilterOptions;
|
||||
@property (nonatomic, strong) UIView *allChatsOptionsView;
|
||||
@property (nonatomic, strong) AllChatsFilterOptionListView *allChatsOptionsView;
|
||||
|
||||
@end
|
||||
|
||||
@@ -966,6 +966,10 @@ NSString *const kRecentsDataSourceTapOnDirectoryServerChange = @"kRecentsDataSou
|
||||
|
||||
if (self.allChatsOptionsView)
|
||||
{
|
||||
[self.allChatsFilterOptions updateWithFilterOptionListView:self.allChatsOptionsView
|
||||
unreadsCount:1 // unreads is allways visible
|
||||
favouritesCount:self.favoriteCellDataArray.count
|
||||
directRoomsCount:self.peopleCellDataArray.count];
|
||||
return self.allChatsOptionsView;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user