mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 16:42:44 +02:00
InviteRecentTableViewCell: Do not show preview button.
This commit is contained in:
@@ -108,15 +108,15 @@ NSString *const kInviteRecentTableViewCellRoomKey = @"kInviteRecentTableViewCell
|
||||
|
||||
if (room.roomId)
|
||||
{
|
||||
[self updateViewsWithRoom:room];
|
||||
[self updateViewsWithRoom:room showPreviewButton:NO];
|
||||
}
|
||||
}
|
||||
|
||||
- (void)updateViewsWithRoom:(MXRoom*)room
|
||||
- (void)updateViewsWithRoom:(MXRoom*)room showPreviewButton:(BOOL)showPreviewButton
|
||||
{
|
||||
NSString *rightButtonTitle;
|
||||
|
||||
if (room.isDirect)
|
||||
if (!showPreviewButton)
|
||||
{
|
||||
rightButtonTitle = NSLocalizedStringFromTable(@"accept", @"Vector", nil);
|
||||
[self vc_setAccessoryDisclosureIndicatorWithCurrentTheme];
|
||||
|
||||
Reference in New Issue
Block a user