Add buttons for hiding watched videos

Fix #448
This commit is contained in:
Arkadiusz Fal
2023-05-23 18:48:39 +02:00
parent 1e2d6cf72f
commit eed9330c0c
14 changed files with 100 additions and 22 deletions

View File

@@ -54,6 +54,7 @@ struct FeedView: View {
#if os(tvOS)
SubscriptionsPageButton()
ListingStyleButtons(listingStyle: $subscriptionsListingStyle)
HideWatchedButtons()
HideShortsButtons(hide: $hideShorts)
#endif

View File

@@ -46,6 +46,7 @@ struct SubscriptionsView: View {
.toolbar {
ToolbarItemGroup {
ListingStyleButtons(listingStyle: $subscriptionsListingStyle)
HideWatchedButtons()
HideShortsButtons(hide: $hideShorts)
toggleWatchedButton
.id(feed.watchedId)
@@ -73,6 +74,7 @@ struct SubscriptionsView: View {
}
Section {
HideWatchedButtons()
HideShortsButtons(hide: $hideShorts)
}