Add content mode to prevent stretching of avatar images less than 48x48
This commit is contained in:
parent
dd78670787
commit
2e178dbebc
|
@ -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 = {
|
||||
|
|
Loading…
Reference in New Issue