Skip to content

Commit

Permalink
fix: Stop using Spacer
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippeWeidmann committed Oct 14, 2024
1 parent 86d10c9 commit baae817
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion MailCoreUI/Components/BottomBarView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ public struct BottomBar<Items: View>: ViewModifier {
public func body(content: Content) -> some View {
VStack(spacing: 0) {
content
Spacer(minLength: 0)
.frame(maxHeight: .infinity, alignment: .top)

if isVisible {
BottomBarView(items: items)
}
Expand Down

0 comments on commit baae817

Please sign in to comment.