Fixed avatar image stretching on iOS timeline.

This commit is contained in:
Maurice Parker 2019-04-16 09:05:09 -05:00
parent 829e482fae
commit baa861d007
2 changed files with 8 additions and 6 deletions

View File

@ -932,12 +932,12 @@
51C4526F2265091600C03939 /* Cell */ = { 51C4526F2265091600C03939 /* Cell */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
51C452702265091600C03939 /* MultilineUILabelSizer.swift */,
51C452712265091600C03939 /* MasterTimelineCellData.swift */,
51C452722265091600C03939 /* MasterTimelineTableViewCell.swift */, 51C452722265091600C03939 /* MasterTimelineTableViewCell.swift */,
51C452732265091600C03939 /* SingleLineUILabelSizer.swift */, 51C452712265091600C03939 /* MasterTimelineCellData.swift */,
51C452742265091600C03939 /* MasterUnreadIndicatorView.swift */,
51C452752265091600C03939 /* MasterTimelineCellLayout.swift */, 51C452752265091600C03939 /* MasterTimelineCellLayout.swift */,
51C452742265091600C03939 /* MasterUnreadIndicatorView.swift */,
51C452732265091600C03939 /* SingleLineUILabelSizer.swift */,
51C452702265091600C03939 /* MultilineUILabelSizer.swift */,
); );
path = Cell; path = Cell;
sourceTree = "<group>"; sourceTree = "<group>";

View File

@ -18,8 +18,10 @@ class MasterTimelineTableViewCell: UITableViewCell {
private let dateView = MasterTimelineTableViewCell.singleLineUILabel() private let dateView = MasterTimelineTableViewCell.singleLineUILabel()
private let feedNameView = MasterTimelineTableViewCell.singleLineUILabel() private let feedNameView = MasterTimelineTableViewCell.singleLineUILabel()
private lazy var avatarImageView = { private lazy var avatarImageView: UIImageView = {
return UIImageView(image: AppAssets.feedImage) let imageView = UIImageView(image: AppAssets.feedImage)
imageView.contentMode = .scaleAspectFit
return imageView
}() }()
private lazy var starView = { private lazy var starView = {