mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 01:22:46 +02:00
New App Layout: added suppport for room invites in the all chats screen
This commit is contained in:
@@ -40,12 +40,12 @@ NSString *const kInviteRecentTableViewCellRoomKey = @"kInviteRecentTableViewCell
|
||||
{
|
||||
[super awakeFromNib];
|
||||
|
||||
[self.leftButton.layer setCornerRadius:5];
|
||||
[self.leftButton.layer setCornerRadius:8];
|
||||
self.leftButton.clipsToBounds = YES;
|
||||
[self.leftButton setTitle:[VectorL10n decline] forState:UIControlStateNormal];
|
||||
[self.leftButton addTarget:self action:@selector(onDeclinePressed:) forControlEvents:UIControlEventTouchUpInside];
|
||||
|
||||
[self.rightButton.layer setCornerRadius:5];
|
||||
[self.rightButton.layer setCornerRadius:8];
|
||||
self.rightButton.clipsToBounds = YES;
|
||||
[self.rightButton setTitle:[VectorL10n accept] forState:UIControlStateNormal];
|
||||
[self.rightButton addTarget:self action:@selector(onRightButtonPressed:) forControlEvents:UIControlEventTouchUpInside];
|
||||
@@ -57,8 +57,14 @@ NSString *const kInviteRecentTableViewCellRoomKey = @"kInviteRecentTableViewCell
|
||||
{
|
||||
[super customizeTableViewCellRendering];
|
||||
|
||||
self.leftButton.backgroundColor = ThemeService.shared.theme.tintColor;
|
||||
self.leftButton.backgroundColor = UIColor.clearColor;
|
||||
self.leftButton.layer.borderWidth = 1;
|
||||
self.leftButton.layer.borderColor = ThemeService.shared.theme.colors.alert.CGColor;
|
||||
self.leftButton.titleLabel.font = ThemeService.shared.theme.fonts.body;
|
||||
[self.leftButton setTitleColor:ThemeService.shared.theme.colors.alert forState:UIControlStateNormal];
|
||||
|
||||
self.rightButton.backgroundColor = ThemeService.shared.theme.tintColor;
|
||||
self.rightButton.titleLabel.font = ThemeService.shared.theme.fonts.body;
|
||||
}
|
||||
|
||||
- (void)prepareForReuse
|
||||
|
||||
Reference in New Issue
Block a user