feat: for tvOS
This commit is contained in:
@@ -48,9 +48,11 @@ struct BrowseView: View {
|
||||
.navigationDestination(for: ContentItem.self) { item in
|
||||
DetailView(item: item)
|
||||
}
|
||||
#if !os(tvOS)
|
||||
.refreshable {
|
||||
await viewModel.loadContent()
|
||||
}
|
||||
#endif
|
||||
.task {
|
||||
viewModel.category = category
|
||||
await viewModel.loadContentIfNeeded()
|
||||
|
||||
Reference in New Issue
Block a user