mirror of
https://github.com/XcodesOrg/XcodesApp.git
synced 2026-03-29 09:35:47 +00:00
Use string interpolation
This commit is contained in:
parent
5fa3152918
commit
564ca96149
1 changed files with 1 additions and 1 deletions
|
|
@ -120,7 +120,7 @@ struct InfoPane: View {
|
|||
Text("ReleaseDate")
|
||||
.font(.headline)
|
||||
.frame(maxWidth: .infinity, alignment: .leading)
|
||||
Text(DateFormatter.downloadsReleaseDate.string(from: releaseDate))
|
||||
Text("\(releaseDate, style: .date)")
|
||||
.font(.subheadline)
|
||||
.frame(maxWidth: .infinity, alignment: .leading)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue