mirror of
https://github.com/yattee/yattee.git
synced 2026-10-24 21:52:51 +00:00
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.
27 lines
537 B
Swift
27 lines
537 B
Swift
//
|
|
// QueuePanelPage.swift
|
|
// Yattee
|
|
//
|
|
// Details panel page hosting the shared queue list.
|
|
//
|
|
|
|
import SwiftUI
|
|
|
|
#if os(iOS) || os(macOS)
|
|
|
|
struct QueuePanelPage: View {
|
|
var settings: QueuePageSettings = QueuePageSettings()
|
|
var bottomInset: CGFloat = 0
|
|
|
|
var body: some View {
|
|
QueueListView(
|
|
showHistory: settings.effectiveShowHistory,
|
|
showNowPlaying: settings.effectiveShowNowPlaying
|
|
)
|
|
.safeAreaPadding(.bottom, bottomInset)
|
|
.panelListLeadingMargin()
|
|
}
|
|
}
|
|
|
|
#endif
|