mirror of
https://github.com/yattee/yattee.git
synced 2025-08-06 10:44:06 +00:00
Persistence for queue, history and last played
This commit is contained in:
@@ -31,12 +31,12 @@ struct PlayerControlsView<Content: View>: View {
|
||||
}) {
|
||||
HStack {
|
||||
VStack(alignment: .leading, spacing: 3) {
|
||||
Text(model.currentItem?.video.title ?? "Not playing")
|
||||
Text(model.currentItem?.video?.title ?? "Not playing")
|
||||
.font(.system(size: 14).bold())
|
||||
.foregroundColor(model.currentItem.isNil ? .secondary : .accentColor)
|
||||
.lineLimit(1)
|
||||
|
||||
Text(model.currentItem?.video.author ?? "Yattee v0.1")
|
||||
Text(model.currentItem?.video?.author ?? "Yattee v0.1")
|
||||
.fontWeight(model.currentItem.isNil ? .light : .bold)
|
||||
.font(.system(size: 10))
|
||||
.foregroundColor(.secondary)
|
||||
|
Reference in New Issue
Block a user