mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-02 06:06:57 +02:00
Room participants: Clear the background color of avatar
This commit is contained in:
@@ -85,7 +85,7 @@
|
||||
|
||||
- (void)render:(MXKCellData *)cellData
|
||||
{
|
||||
// remove any pending observers
|
||||
// Remove any pending observers
|
||||
[[NSNotificationCenter defaultCenter] removeObserver:self];
|
||||
|
||||
if (mxPresenceObserver)
|
||||
@@ -94,10 +94,11 @@
|
||||
mxPresenceObserver = nil;
|
||||
}
|
||||
|
||||
// Clear the default background color of a MXKImageView instance
|
||||
self.thumbnailView.backgroundColor = [UIColor clearColor];
|
||||
|
||||
// Sanity check: accept only object of MXKContact classes or sub-classes
|
||||
NSParameterAssert([cellData isKindOfClass:[MXKContact class]]);
|
||||
|
||||
contact = (MXKContact*)cellData;
|
||||
|
||||
// sanity check
|
||||
|
||||
Reference in New Issue
Block a user