Minor recent documents fixes

This commit is contained in:
Arkadiusz Fal 2022-11-19 15:09:09 +01:00
parent 8d53d7fe79
commit 57e0356c8e
2 changed files with 4 additions and 2 deletions

View File

@ -85,8 +85,7 @@ final class DocumentsModel: ObservableObject {
var creationDateFormatter: DateFormatter { var creationDateFormatter: DateFormatter {
let formatter = DateFormatter() let formatter = DateFormatter()
formatter.dateStyle = .short formatter.setLocalizedDateFormatFromTemplate("YYMMddHHmm")
formatter.timeStyle = .short
return formatter return formatter
} }

View File

@ -67,7 +67,10 @@ struct VideoBanner: View {
Text("") Text("")
Text(size) Text(size)
} }
Spacer()
} }
.frame(maxWidth: .infinity)
} }
#endif #endif
} }