Fix timeline top padding

This commit is contained in:
Thomas Ricouard 2024-01-01 19:06:14 +01:00
parent e41dcd6976
commit 4fee875fa7

View File

@ -243,7 +243,7 @@ public struct TimelineView: View {
private var scrollToTopView: some View { private var scrollToTopView: some View {
ScrollToView() ScrollToView()
.frame(height: .layoutPadding) .frame(height: pinnedFilters.isEmpty ? .layoutPadding : 0)
.onAppear { .onAppear {
viewModel.scrollToTopVisible = true viewModel.scrollToTopVisible = true
} }