mirror of
https://github.com/yattee/yattee.git
synced 2025-08-06 10:44:06 +00:00
Listing styles
This commit is contained in:
@@ -6,6 +6,10 @@ struct FeedView: View {
|
||||
@ObservedObject private var feed = FeedModel.shared
|
||||
@ObservedObject private var accounts = AccountsModel.shared
|
||||
|
||||
#if os(tvOS)
|
||||
@Default(.subscriptionsListingStyle) private var subscriptionsListingStyle
|
||||
#endif
|
||||
|
||||
var videos: [ContentItem] {
|
||||
ContentItem.array(of: feed.videos)
|
||||
}
|
||||
@@ -15,6 +19,7 @@ struct FeedView: View {
|
||||
HStack {
|
||||
#if os(tvOS)
|
||||
SubscriptionsPageButton()
|
||||
ListingStyleButtons(listingStyle: $subscriptionsListingStyle)
|
||||
#endif
|
||||
|
||||
Spacer()
|
||||
|
Reference in New Issue
Block a user