mirror of
https://github.com/XcodesOrg/XcodesApp.git
synced 2026-03-25 08:55:46 +00:00
Change Release Notes button to text
This commit is contained in:
parent
6f432eef7f
commit
3b6d2e4dab
3 changed files with 18 additions and 11 deletions
|
|
@ -15,18 +15,16 @@ struct ReleaseDateView: View {
|
|||
if let date = date {
|
||||
|
||||
VStack(alignment: .leading) {
|
||||
HStack {
|
||||
Text("ReleaseDate")
|
||||
.font(.headline)
|
||||
Spacer()
|
||||
if let url {
|
||||
ReleaseNotesView(url: url)
|
||||
}
|
||||
}
|
||||
Text("ReleaseDate")
|
||||
.font(.headline)
|
||||
|
||||
Text("\(date, style: .date)")
|
||||
.font(.subheadline)
|
||||
|
||||
if let url {
|
||||
ReleaseNotesView(url: url)
|
||||
.padding(.top, 2)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -16,10 +16,9 @@ struct ReleaseNotesView: View {
|
|||
var body: some View {
|
||||
if let url = url {
|
||||
Button(action: { openURL(url) }) {
|
||||
Image(systemName: "link.circle.fill")
|
||||
.font(.title)
|
||||
Text("ReleaseNotes")
|
||||
.font(.callout)
|
||||
}
|
||||
.buttonStyle(.plain)
|
||||
.contextMenu(menuItems: {
|
||||
CopyReleaseNoteButton(url: url)
|
||||
})
|
||||
|
|
|
|||
|
|
@ -16516,6 +16516,16 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"ReleaseNotes" : {
|
||||
"localizations" : {
|
||||
"en" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "Release Notes"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"ReleaseNotes.help" : {
|
||||
"localizations" : {
|
||||
"ca" : {
|
||||
|
|
|
|||
Loading…
Reference in a new issue