mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-24 10:32:46 +02:00
Room preview: Do not show right buttons (search and matrix apps) in the navigation bar, even disabled and grayed
This commit is contained in:
@@ -1227,11 +1227,8 @@
|
||||
// Set the right room title view
|
||||
if (self.isRoomPreview)
|
||||
{
|
||||
// Disable the right buttons
|
||||
for (UIBarButtonItem *barButtonItem in self.navigationItem.rightBarButtonItems)
|
||||
{
|
||||
barButtonItem.enabled = NO;
|
||||
}
|
||||
// Do not show the right buttons
|
||||
self.navigationItem.rightBarButtonItems = nil;
|
||||
|
||||
[self showPreviewHeader:YES];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user