From 47ac7bdd005ef2f12bf3a7dc719933bc11f76f9c Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Wed, 17 Apr 2019 07:25:26 -0500 Subject: [PATCH] Adjusted low image quality cutoff to work with retina and super retina displays. --- iOS/Timeline/Cell/MasterTimelineTableViewCell.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/iOS/Timeline/Cell/MasterTimelineTableViewCell.swift b/iOS/Timeline/Cell/MasterTimelineTableViewCell.swift index 96a72fe78..44357c1a8 100644 --- a/iOS/Timeline/Cell/MasterTimelineTableViewCell.swift +++ b/iOS/Timeline/Cell/MasterTimelineTableViewCell.swift @@ -178,7 +178,8 @@ private extension MasterTimelineTableViewCell { func updateAvatar() { // The avatar should be bigger than a favicon. They’re too small; they look weird. - guard let image = cellData.avatar, cellData.showAvatar, image.size.height >= 22.0, image.size.width >= 22.0 else { + let minDimension = 22.0 * RSScreen.mainScreenScale + guard let image = cellData.avatar, cellData.showAvatar, image.size.height >= minDimension, image.size.width >= minDimension else { makeAvatarEmpty() return }