mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 21:43:41 +00:00
Merge pull request #635 from stonerl/related-videos
don't show related in sidebar when disabled in settings
This commit is contained in:
commit
4ab60080f6
@ -11,6 +11,7 @@ struct PlayerQueueView: View {
|
||||
@ObservedObject private var player = PlayerModel.shared
|
||||
|
||||
@Default(.saveHistory) private var saveHistory
|
||||
@Default(.showRelated) private var showRelated
|
||||
|
||||
var body: some View {
|
||||
Group {
|
||||
@ -19,7 +20,7 @@ struct PlayerQueueView: View {
|
||||
autoplaying
|
||||
}
|
||||
playingNext
|
||||
if sidebarQueue {
|
||||
if sidebarQueue, showRelated {
|
||||
related
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user