damus

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

commit f6dd060580f3cee7ff62b1050ffb36462b1df1b8
parent 12428d01ad440f1740b3ca4a791da9e92bbd663e
Author: William Casarin <jb55@jb55.com>
Date:   Mon, 29 May 2023 14:31:16 -0700

fixup! Add new image carousel

Diffstat:
Mdamus/Components/ImageCarousel.swift | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/damus/Components/ImageCarousel.swift b/damus/Components/ImageCarousel.swift @@ -65,8 +65,8 @@ struct ImageCarousel: View { @State private var image_fill: ImageFill? = nil @State private var fillHeight: CGFloat = 350 - @State private var maxHeight: CGFloat = UIScreen.main.bounds.height * 0.85 // 1.2 - @State private var firstImageHeight: CGFloat = UIScreen.main.bounds.height * 0.85 + @State private var maxHeight: CGFloat = UIScreen.main.bounds.height * 1.2 // 1.2 + @State private var firstImageHeight: CGFloat = UIScreen.main.bounds.height * 1.2 @State private var currentImageHeight: CGFloat? @State private var selectedIndex = 0