Skip to content

Commit

Permalink
Merge pull request #635 from stonerl/related-videos
Browse files Browse the repository at this point in the history
don't show related in sidebar when disabled in settings
  • Loading branch information
arekf committed May 16, 2024
2 parents a3a198a + dd61064 commit 4ab6008
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Shared/Player/Video Details/PlayerQueueView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -19,7 +20,7 @@ struct PlayerQueueView: View {
autoplaying
}
playingNext
if sidebarQueue {
if sidebarQueue, showRelated {
related
}
}
Expand Down

0 comments on commit 4ab6008

Please sign in to comment.