Browse Source

images: don't cutoff gifs

Changelog-Fixed: Don't cutoff gifs
post-button-style
William Casarin 2 years ago
parent
commit
a6a9d4ed77
  1. 2
      damus/Components/ImageCarousel.swift

2
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)
}

Loading…
Cancel
Save