Browse Source

home: fix carousel spacing issue

Closes: #6
Changelog-Fixed: Fixed minor carousel spacing issue on homescreen
Signed-off-by: William Casarin <jb55@jb55.com>
profile-edit
James Carucci 2 years ago
committed by William Casarin
parent
commit
60e0031f25
  1. 12
      damus/Views/CarouselView.swift

12
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())

Loading…
Cancel
Save