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

@@ -123,6 +123,10 @@ struct TrendingView: View {
ListingStyleButtons(listingStyle: $trendingListingStyle)
}
ToolbarItem {
HideWatchedButtons()
}
ToolbarItem {
HideShortsButtons(hide: $hideShorts)
}
@@ -174,6 +178,7 @@ struct TrendingView: View {
ListingStyleButtons(listingStyle: $trendingListingStyle)
Section {
HideWatchedButtons()
HideShortsButtons(hide: $hideShorts)
}
@@ -247,6 +252,7 @@ struct TrendingView: View {
Spacer()
ListingStyleButtons(listingStyle: $trendingListingStyle)
HideWatchedButtons()
HideShortsButtons(hide: $hideShorts)
Button {