Fix style

This commit is contained in:
Arkadiusz Fal 2023-10-15 13:33:46 +02:00
parent e6a9f39477
commit 053b4a22b8

View File

@ -36,7 +36,7 @@ struct Sidebar: View {
} }
.onChange(of: navigation.sidebarSectionChanged) { _ in .onChange(of: navigation.sidebarSectionChanged) { _ in
if let tabSelection = navigation.tabSelection { if let tabSelection = navigation.tabSelection {
scrollScrollViewToItem(scrollView: scrollView, for: navigation.tabSelection) scrollScrollViewToItem(scrollView: scrollView, for: tabSelection)
} }
} }
.listStyle(.sidebar) .listStyle(.sidebar)