mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-25 19:10:49 +02:00
UX Rework: Add home page
- Improve filter handling - Fix empty people section https://github.com/vector-im/riot-meta/issues/75
This commit is contained in:
@@ -244,7 +244,7 @@ NSString *const kRecentsDataSourceTapOnDirectoryServerChange = @"kRecentsDataSou
|
||||
favoritesSection = sectionsCount++;
|
||||
}
|
||||
|
||||
if (peopleCellDataArray.count > 0)
|
||||
if (_recentsDataSourceMode == RecentsDataSourceModeHome)
|
||||
{
|
||||
peopleSection = sectionsCount++;
|
||||
}
|
||||
@@ -789,7 +789,8 @@ NSString *const kRecentsDataSourceTapOnDirectoryServerChange = @"kRecentsDataSou
|
||||
{
|
||||
return self.droppingCellBackGroundView.frame.size.height;
|
||||
}
|
||||
if (indexPath.section == conversationSection && !conversationCellDataArray.count)
|
||||
if ((indexPath.section == conversationSection && !conversationCellDataArray.count)
|
||||
|| (indexPath.section == peopleSection && !peopleCellDataArray.count))
|
||||
{
|
||||
return 50.0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user