mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 00:24:43 +02:00
HomeVC: Room actions, update icons and add background corner radius.
This commit is contained in:
@@ -18,6 +18,8 @@
|
||||
#import "ThemeService.h"
|
||||
#import "Riot-Swift.h"
|
||||
|
||||
static CGFloat const kEditionViewCornerRadius = 10.0;
|
||||
|
||||
@implementation TableViewCellWithCollectionView
|
||||
|
||||
- (void)awakeFromNib
|
||||
@@ -26,6 +28,8 @@
|
||||
|
||||
self.editionViewHeightConstraint.constant = 0;
|
||||
self.editionViewBottomConstraint.constant = 0;
|
||||
|
||||
self.editionView.layer.masksToBounds = YES;
|
||||
}
|
||||
|
||||
- (void)customizeTableViewCellRendering
|
||||
@@ -50,5 +54,12 @@
|
||||
self.collectionView.scrollEnabled = YES;
|
||||
}
|
||||
|
||||
- (void)layoutSubviews
|
||||
{
|
||||
[super layoutSubviews];
|
||||
|
||||
self.editionView.layer.cornerRadius = kEditionViewCornerRadius;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user