mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 21:43:41 +00:00
Minor recent documents fixes
This commit is contained in:
parent
8d53d7fe79
commit
57e0356c8e
@ -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
|
||||||
}
|
}
|
||||||
|
@ -67,7 +67,10 @@ struct VideoBanner: View {
|
|||||||
Text("•")
|
Text("•")
|
||||||
Text(size)
|
Text(size)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Spacer()
|
||||||
}
|
}
|
||||||
|
.frame(maxWidth: .infinity)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user