mirror of
https://github.com/XcodesOrg/XcodesApp.git
synced 2026-03-25 08:55:46 +00:00
Move button styling to not affect the info pane
This commit is contained in:
parent
4649ba0c8a
commit
9622b563b3
2 changed files with 3 additions and 2 deletions
|
|
@ -43,9 +43,8 @@ struct InstallButton: View {
|
|||
install()
|
||||
} label: {
|
||||
Text("Install")
|
||||
.textCase(.uppercase)
|
||||
.help("InstallDescription")
|
||||
}.buttonStyle(AppStoreButtonStyle(primary: false, highlighted: false))
|
||||
}
|
||||
}
|
||||
|
||||
private func install() {
|
||||
|
|
|
|||
|
|
@ -111,6 +111,8 @@ struct XcodeListViewRow: View {
|
|||
.help("OpenDescription")
|
||||
case .notInstalled:
|
||||
InstallButton(xcode: xcode)
|
||||
.textCase(.uppercase)
|
||||
.buttonStyle(AppStoreButtonStyle(primary: false, highlighted: false))
|
||||
case let .installing(installationStep):
|
||||
InstallationStepRowView(
|
||||
installationStep: installationStep,
|
||||
|
|
|
|||
Loading…
Reference in a new issue