Add spaces option

This commit is contained in:
ismailgulek
2021-09-29 15:10:41 +03:00
parent f76f778e0b
commit b31cd38e00
2 changed files with 17 additions and 3 deletions

View File

@@ -100,7 +100,8 @@ NSString *const kRecentsDataSourceTapOnDirectoryServerChange = @"kRecentsDataSou
fetchersContainer = [[RecentsRoomListFetchersContainer alloc] initWithSession:self.mxSession
mode:_recentsDataSourceMode
query:nil];
query:nil
space:nil];
[fetchersContainer addDelegate:self];
}
@@ -229,6 +230,11 @@ NSString *const kRecentsDataSourceTapOnDirectoryServerChange = @"kRecentsDataSou
[fetchersContainer updateMode:_recentsDataSourceMode];
}
- (void)setCurrentSpace:(MXSpace *)currentSpace
{
[fetchersContainer updateSpace:currentSpace];
}
- (UIView *)viewForStickyHeaderInSection:(NSInteger)section withFrame:(CGRect)frame
{
UIView *stickyHeader;