mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-25 11:02:48 +02:00
MESSENGER-5695 remove borders from avatar photos
This commit is contained in:
committed by
Frank Rotermund
parent
9cf8aa24dd
commit
1196cee418
@@ -79,6 +79,9 @@
|
||||
|
||||
// Clear the default background color of a MXKImageView instance
|
||||
self.thumbnailView.defaultBackgroundColor = [UIColor clearColor];
|
||||
|
||||
// bwi: 5695 remove avatar borders
|
||||
self.thumbnailView.contentMode = UIViewContentModeScaleAspectFill;
|
||||
}
|
||||
|
||||
- (void)layoutSubviews
|
||||
@@ -260,6 +263,9 @@
|
||||
}
|
||||
}
|
||||
|
||||
// bwi: 5695 remove avatar borders
|
||||
self.thumbnailView.contentMode = UIViewContentModeScaleAspectFill;
|
||||
|
||||
self.thumbnailView.image = image;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user