Move button styling to not affect the info pane

This commit is contained in:
Daniel Chick 2023-12-05 17:20:41 -06:00
parent 4649ba0c8a
commit 9622b563b3
2 changed files with 3 additions and 2 deletions

View file

@ -43,9 +43,8 @@ struct InstallButton: View {
install()
} label: {
Text("Install")
.textCase(.uppercase)
.help("InstallDescription")
}.buttonStyle(AppStoreButtonStyle(primary: false, highlighted: false))
}
}
private func install() {

View file

@ -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,