mirror of
https://github.com/yattee/yattee.git
synced 2024-12-14 06:10:32 +05:30
Minor controls bar changes
This commit is contained in:
parent
96ba994bf5
commit
b199af05b8
@ -221,10 +221,24 @@ struct ControlsBar: View {
|
||||
.foregroundColor(model.currentVideo.isNil ? .secondary : .accentColor)
|
||||
.lineLimit(1)
|
||||
|
||||
Text(model.currentVideo?.author ?? "")
|
||||
.font(.system(size: 12))
|
||||
.foregroundColor(.secondary)
|
||||
.lineLimit(1)
|
||||
HStack(spacing: 2) {
|
||||
Text(model.currentVideo?.author ?? "")
|
||||
.font(.system(size: 12))
|
||||
|
||||
if let channel = model.currentVideo?.channel,
|
||||
let subsriptions = channel.subscriptionsString
|
||||
{
|
||||
HStack(spacing: 2) {
|
||||
Image(systemName: "person.2.fill")
|
||||
|
||||
Text(subsriptions)
|
||||
}
|
||||
.padding(.leading, 4)
|
||||
.font(.system(size: 9))
|
||||
}
|
||||
}
|
||||
.lineLimit(1)
|
||||
.foregroundColor(.secondary)
|
||||
}
|
||||
}
|
||||
.buttonStyle(.plain)
|
||||
@ -246,7 +260,7 @@ struct ControlsBar: View {
|
||||
.indicator(.activity)
|
||||
} else {
|
||||
ZStack {
|
||||
Color(white: 0.8)
|
||||
Color(white: 0.6)
|
||||
.opacity(0.5)
|
||||
|
||||
Image(systemName: "play.rectangle")
|
||||
|
Loading…
Reference in New Issue
Block a user