App Layout: added space invites in space bottom sheet

This commit is contained in:
Gil Eluard
2022-08-21 11:07:21 +02:00
parent dda63fcf54
commit b53f9af823
13 changed files with 306 additions and 104 deletions
@@ -229,11 +229,6 @@ NSString *const kRecentsDataSourceTapOnDirectoryServerChange = @"kRecentsDataSou
[types addObject:@(RecentsDataSourceSectionTypeAllChats)];
}
if (self.currentSpace == nil && BuildSettings.newAppLayoutEnabled && self.invitesCellDataArray.count > 0)
{
[types addObject:@(RecentsDataSourceSectionTypeInvites)];
}
if (self.currentSpace != nil && self.suggestedRoomCellDataArray.count > 0)
{
[types addObject:@(RecentsDataSourceSectionTypeSuggestedRooms)];