Fix parsing playlist urls (with list parameter)

This commit is contained in:
Arkadiusz Fal
2023-09-23 21:22:43 +02:00
parent f25005536c
commit d47ecb2723
3 changed files with 8 additions and 2 deletions

View File

@@ -147,7 +147,9 @@ struct Sidebar: View {
}
}
private func scrollScrollViewToItem(scrollView: ScrollViewProxy, for selection: TabSelection) {
private func scrollScrollViewToItem(scrollView: ScrollViewProxy, for selection: TabSelection!) {
guard let selection else { return }
if case .recentlyOpened = selection {
scrollView.scrollTo("recentlyOpened")
return