mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 16:42:44 +02:00
Fixes vector-im/element-ios/issues/6095 - Random square home screen room avatars.
This commit is contained in:
committed by
Stefan Ceriu
parent
737a74d712
commit
55d6519436
@@ -34,10 +34,6 @@
|
||||
{
|
||||
[super awakeFromNib];
|
||||
|
||||
// Round room image view
|
||||
[_roomAvatar.layer setCornerRadius:_roomAvatar.frame.size.width / 2];
|
||||
_roomAvatar.clipsToBounds = YES;
|
||||
|
||||
// Disable the user interaction on the room avatar.
|
||||
self.roomAvatar.userInteractionEnabled = NO;
|
||||
|
||||
@@ -73,6 +69,9 @@
|
||||
- (void)layoutSubviews
|
||||
{
|
||||
[super layoutSubviews];
|
||||
|
||||
[self.roomAvatar.layer setCornerRadius:self.roomAvatar.frame.size.width / 2.0];
|
||||
[self.roomAvatar setClipsToBounds: YES];
|
||||
}
|
||||
|
||||
- (void)render:(MXKCellData *)cellData
|
||||
|
||||
Reference in New Issue
Block a user