mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 13:33:42 +00:00
Show loading video
This commit is contained in:
parent
9d2e6f117d
commit
5cfcffc885
@ -44,10 +44,16 @@ struct VideoDetails: View {
|
||||
|
||||
VStack(alignment: .leading, spacing: 2) {
|
||||
HStack {
|
||||
Text(model.videoForDisplay?.channel.name ?? "Yattee")
|
||||
.font(.subheadline)
|
||||
.fontWeight(.semibold)
|
||||
.lineLimit(1)
|
||||
if let name = model.videoForDisplay?.channel.name, !name.isEmpty {
|
||||
Text(name)
|
||||
.font(.subheadline)
|
||||
.fontWeight(.semibold)
|
||||
.lineLimit(1)
|
||||
} else if model.videoBeingOpened != nil {
|
||||
Text("Yattee")
|
||||
.font(.subheadline)
|
||||
.redacted(reason: .placeholder)
|
||||
}
|
||||
|
||||
if let video, !video.isLocal {
|
||||
Group {
|
||||
|
Loading…
Reference in New Issue
Block a user