Add content mode to prevent stretching of avatar images less than 48x48

This commit is contained in:
Maurice Parker 2019-04-28 19:27:58 -05:00
parent dd78670787
commit 2e178dbebc

View File

@ -19,7 +19,9 @@ class MasterTimelineTableViewCell: UITableViewCell {
private let feedNameView = MasterTimelineTableViewCell.singleLineUILabel()
private lazy var avatarImageView: UIImageView = {
return NonIntrinsicImageView(image: AppAssets.feedImage)
let imageView = NonIntrinsicImageView(image: AppAssets.feedImage)
imageView.contentMode = .scaleAspectFit
return imageView
}()
private lazy var starView = {