Improve queue details loading

This commit is contained in:
Arkadiusz Fal
2022-06-26 13:12:32 +02:00
parent 0b3552d894
commit 86dbb9629e
5 changed files with 17 additions and 12 deletions

View File

@@ -159,7 +159,7 @@ struct VideoDetails: View {
.font(.system(size: 10).bold())
.overlay(
RoundedRectangle(cornerRadius: 2)
.stroke(active ? Color.accentColor : .gray, lineWidth: 2)
.stroke(active ? Color.accentColor : .gray, lineWidth: 1.2)
.foregroundColor(.clear)
)
.frame(maxWidth: .infinity)

View File

@@ -24,14 +24,14 @@ struct VideoBanner: View {
#endif
}
VStack(alignment: .leading, spacing: 4) {
Text(video?.title ?? "Unknown title")
Text(video?.title ?? "Loading...")
.truncationMode(.middle)
.lineLimit(2)
.font(.headline)
.frame(alignment: .leading)
HStack {
Text(video?.author ?? "Unknown author")
Text(video?.author ?? "")
.lineLimit(1)
Spacer()