Merge pull request #642 from stonerl/queue-header

only show Queue header in sidebar view
This commit is contained in:
Arkadiusz Fal 2024-05-16 18:13:53 +02:00 committed by GitHub
commit 1a3012853d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -91,10 +91,9 @@ struct PlayerQueueView: View {
}
var queueHeader: some View {
Text("Queue".localized())
Text(sidebarQueue ? "Queue".localized() : "")
#if !os(macOS)
.foregroundColor(.secondary)
.font(.caption)
.frame(maxWidth: .infinity, alignment: .leading)
#endif
}