mirror of
https://github.com/yattee/yattee.git
synced 2025-04-28 16:00:33 +05:30
Merge pull request #642 from stonerl/queue-header
only show Queue header in sidebar view
This commit is contained in:
commit
1a3012853d
@ -91,10 +91,9 @@ struct PlayerQueueView: View {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var queueHeader: some View {
|
var queueHeader: some View {
|
||||||
Text("Queue".localized())
|
Text(sidebarQueue ? "Queue".localized() : "")
|
||||||
#if !os(macOS)
|
#if !os(macOS)
|
||||||
.foregroundColor(.secondary)
|
.foregroundColor(.secondary)
|
||||||
.font(.caption)
|
|
||||||
.frame(maxWidth: .infinity, alignment: .leading)
|
.frame(maxWidth: .infinity, alignment: .leading)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user