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:
Giom Foret
2017-08-14 19:11:13 +02:00
parent 656ef63f0d
commit 09afdf36fe
11 changed files with 15 additions and 15 deletions
@@ -1983,7 +1983,7 @@ NSString *const kRoomSettingsAdvancedE2eEnabledCellViewIdentifier = @"kRoomSetti
[roomPhotoCell.mxkImageView addGestureRecognizer:tap];
}
roomPhotoCell.mxkImageView.backgroundColor = [UIColor clearColor];
roomPhotoCell.mxkImageView.defaultBackgroundColor = [UIColor clearColor];
roomPhotoCell.mxkLabel.text = NSLocalizedStringFromTable(@"room_details_photo", @"Vector", nil);
roomPhotoCell.mxkLabel.textColor = kRiotPrimaryTextColor;