damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit 6804fbb607f3dc6239cd8338f7411e8b42451210
parent 05503024ccadd1e76be9be4cbeaad72a8a73f3d3
Author: William Casarin <jb55@jb55.com>
Date:   Mon, 29 May 2023 10:17:16 -0700

Attempt fix for randomly broken animated GIFs

Changelog-Fixed: Attempt fix for randomly broken animated gifs

Diffstat:
Mdamus/Util/EventCache.swift | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/damus/Util/EventCache.swift b/damus/Util/EventCache.swift @@ -387,9 +387,12 @@ func preload_event(plan: PreloadPlan, state: DamusState) async { plan.data.artifacts_model.state = .loaded(arts) } + // jb55: image preloading might be breaking gifs? some kind of disk race condition perhaps? + /* for url in arts.images { preload_image(url: url) } + */ } if plan.load_preview {