From c699ed91e4d6493f163ada4c0e751afc70b0c64a Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Thu, 29 Oct 2026 09:12:16 -0700 Subject: [PATCH] Check AuthorAvatarDownloader cache first so a replaced avatar shows. --- Shared/IconImageCache.swift | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Shared/IconImageCache.swift b/Shared/IconImageCache.swift index a7c93c16e..448066864 100644 --- a/Shared/IconImageCache.swift +++ b/Shared/IconImageCache.swift @@ -174,13 +174,10 @@ private extension IconImageCache { } func imageForAuthor(_ author: Author) -> IconImage? { - if let iconImage = authorIconImageCache[author] { - return iconImage - } if let iconImage = AuthorAvatarDownloader.shared.cachedImage(for: author) { authorIconImageCache[author] = iconImage return iconImage } - return nil + return authorIconImageCache[author] } }