mirror of
https://github.com/yattee/yattee.git
synced 2026-10-31 08:57:17 +00:00
Add a Currently Playing toggle to the queue panel page
Below Previously Played in the queue page settings; off by default, so the queue page lists history and up next without the playing video. With it off the page opens scrolled to Up Next.
This commit is contained in:
@@ -260,8 +260,12 @@ struct RelatedPageSettings: Codable, Hashable, Sendable {
|
||||
/// Element toggles for the queue page.
|
||||
struct QueuePageSettings: Codable, Hashable, Sendable {
|
||||
var showHistory: Bool?
|
||||
/// Whether the playing video is listed between history and the queue.
|
||||
/// Off by default: the player itself already shows it.
|
||||
var showNowPlaying: Bool?
|
||||
|
||||
var effectiveShowHistory: Bool { showHistory ?? true }
|
||||
var effectiveShowNowPlaying: Bool { showNowPlaying ?? false }
|
||||
}
|
||||
|
||||
/// Element toggles for the chapters page.
|
||||
|
||||
Reference in New Issue
Block a user