MESSENGER-5695 remove borders from avatar photos

This commit is contained in:
Arnfried Griesert
2024-03-04 06:57:19 +00:00
committed by Frank Rotermund
parent 9cf8aa24dd
commit 1196cee418
3 changed files with 12 additions and 2 deletions
@@ -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;
}