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
1 changed files with 3 additions and 1 deletions

View File

@ -19,7 +19,9 @@ class MasterTimelineTableViewCell: UITableViewCell {
private let feedNameView = MasterTimelineTableViewCell.singleLineUILabel() private let feedNameView = MasterTimelineTableViewCell.singleLineUILabel()
private lazy var avatarImageView: UIImageView = { 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 = { private lazy var starView = {