commit 60e0031f2586b6f5ffcc0366fa242a3315b77687
parent df5d6557f2c503bb939742fe3fd9d5c01b353cc9
Author: James Carucci <jim.carucci@northstarbis.com>
Date: Mon, 8 Aug 2022 09:08:43 -0400
home: fix carousel spacing issue
Closes: #6
Changelog-Fixed: Fixed minor carousel spacing issue on homescreen
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat:
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/damus/Views/CarouselView.swift b/damus/Views/CarouselView.swift
@@ -28,10 +28,14 @@ struct CarouselView: View {
var body: some View {
TabView {
ForEach(carousel_items) { item in
- CarouselItemView(item: item)
- .tabItem {
- Text(item.id)
- }
+ VStack{
+ CarouselItemView(item: item)
+ .tabItem {
+ Text(item.id)
+ }
+ Spacer(minLength: 20.0)
+ }
+
}
}
.tabViewStyle(PageTabViewStyle())