mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-24 02:22:44 +02:00
Dark Theme - Bug Fix
Recents List: some room avatars have an unexpected black background. We apply here the new property `defaultBackgroundColor` defined in MXKImageView class to initialize correctly image background.
This commit is contained in:
@@ -52,6 +52,8 @@
|
||||
self.directRoomBorderView.clipsToBounds = YES;
|
||||
self.directRoomBorderView.layer.borderColor = CGColorCreateCopyWithAlpha(kRiotColorGreen.CGColor, 0.75);
|
||||
self.directRoomBorderView.layer.borderWidth = 3;
|
||||
|
||||
self.roomAvatar.defaultBackgroundColor = [UIColor clearColor];
|
||||
}
|
||||
|
||||
- (void)layoutSubviews
|
||||
@@ -137,8 +139,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
self.roomAvatar.backgroundColor = [UIColor clearColor];
|
||||
|
||||
self.directRoomBorderView.hidden = !roomCellData.roomSummary.room.isDirect;
|
||||
|
||||
self.encryptedRoomIcon.hidden = !roomCellData.roomSummary.isEncrypted;
|
||||
|
||||
Reference in New Issue
Block a user