mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-22 23:52:11 +02:00
MESSENGER-4802 personal notes in favorites
This commit is contained in:
@@ -398,7 +398,6 @@
|
||||
|| (sectionType == RecentsDataSourceSectionTypePeople && !recentsDataSource.recentsListService.peopleRoomListData.counts.numberOfRooms)
|
||||
|| (sectionType == RecentsDataSourceSectionTypeSecureBackupBanner)
|
||||
|| (sectionType == RecentsDataSourceSectionTypeCrossSigningBanner)
|
||||
|| (sectionType == RecentsDataSourceSectionTypePersonalNotes)
|
||||
)
|
||||
{
|
||||
return [recentsDataSource tableView:tableView cellForRowAtIndexPath:indexPath];
|
||||
@@ -502,8 +501,7 @@
|
||||
|
||||
RecentsDataSourceSectionType sectionType = [recentsDataSource.sections sectionTypeForSectionIndex:indexPath.section];
|
||||
if ((sectionType == RecentsDataSourceSectionTypeConversation && !recentsDataSource.recentsListService.conversationRoomListData.counts.numberOfRooms)
|
||||
|| (sectionType == RecentsDataSourceSectionTypePeople && !recentsDataSource.recentsListService.peopleRoomListData.counts.numberOfRooms)
|
||||
|| (sectionType == RecentsDataSourceSectionTypePersonalNotes))
|
||||
|| (sectionType == RecentsDataSourceSectionTypePeople && !recentsDataSource.recentsListService.peopleRoomListData.counts.numberOfRooms))
|
||||
{
|
||||
return [recentsDataSource cellHeightAtIndexPath:indexPath];
|
||||
}
|
||||
@@ -582,7 +580,7 @@
|
||||
{
|
||||
[self showCrossSigningSetup];
|
||||
}
|
||||
else if (sectionType == RecentsDataSourceSectionTypeAllChats || sectionType == RecentsDataSourceSectionTypePersonalNotes)
|
||||
else if (sectionType == RecentsDataSourceSectionTypeAllChats)
|
||||
{
|
||||
[super tableView:tableView didSelectRowAtIndexPath:indexPath];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user