From a6a9d4ed7721ad203398ae66a84ed6391e607c78 Mon Sep 17 00:00:00 2001 From: William Casarin Date: Tue, 27 Dec 2022 14:39:35 -0800 Subject: [PATCH] images: don't cutoff gifs Changelog-Fixed: Don't cutoff gifs --- damus/Components/ImageCarousel.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/damus/Components/ImageCarousel.swift b/damus/Components/ImageCarousel.swift index 1c1e058a..fb9c5af2 100644 --- a/damus/Components/ImageCarousel.swift +++ b/damus/Components/ImageCarousel.swift @@ -131,7 +131,7 @@ struct ImageCarousel: View { .loadDiskFileSynchronously() .scaleFactor(UIScreen.main.scale) .fade(duration: 0.1) - .aspectRatio(contentMode: .fill) + .aspectRatio(contentMode: .fit) .tabItem { Text(url.absoluteString) }