mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-18 23:48:29 +02:00
Show/Hide public directory in Unified Search
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
#import "DirectoryRecentTableViewCell.h"
|
||||
|
||||
#import "MXRoom+Riot.h"
|
||||
#import "Riot-Swift.h"
|
||||
|
||||
@interface UnifiedSearchRecentsDataSource()
|
||||
{
|
||||
@@ -85,7 +86,10 @@
|
||||
}
|
||||
|
||||
// The public rooms directory cell is then visible whatever the search activity.
|
||||
self.directorySection = sectionsOffset++;
|
||||
if (RiotSettings.shared.unifiedSearchScreenShowPublicDirectory)
|
||||
{
|
||||
self.directorySection = sectionsOffset++;
|
||||
}
|
||||
|
||||
if (_hideRecents)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user