mirror of
https://github.com/yattee/yattee.git
synced 2025-08-05 02:04:07 +00:00
Channels performance improvements
Add settings: Show channel avatars in channels lists Show channel avatars in videos lists Fix #508
This commit is contained in:
@@ -25,6 +25,8 @@ struct BrowsingSettings: View {
|
||||
@Default(.playerButtonIsExpanded) private var playerButtonIsExpanded
|
||||
@Default(.playerBarMaxWidth) private var playerBarMaxWidth
|
||||
@Default(.expandChannelDescription) private var expandChannelDescription
|
||||
@Default(.showChannelAvatarInChannelsLists) private var showChannelAvatarInChannelsLists
|
||||
@Default(.showChannelAvatarInVideosListing) private var showChannelAvatarInVideosListing
|
||||
|
||||
@ObservedObject private var accounts = AccountsModel.shared
|
||||
|
||||
@@ -186,6 +188,9 @@ struct BrowsingSettings: View {
|
||||
}
|
||||
|
||||
Toggle("Keep channels with unwatched videos on top of subscriptions list", isOn: $keepChannelsWithUnwatchedFeedOnTop)
|
||||
|
||||
Toggle("Show channel avatars in channels lists", isOn: $showChannelAvatarInChannelsLists)
|
||||
Toggle("Show channel avatars in videos lists", isOn: $showChannelAvatarInVideosListing)
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -243,7 +243,7 @@ struct SettingsView: View {
|
||||
private var windowHeight: Double {
|
||||
switch selection {
|
||||
case .browsing:
|
||||
return 720
|
||||
return 800
|
||||
case .player:
|
||||
return 480
|
||||
case .controls:
|
||||
|
Reference in New Issue
Block a user