Swap button to InstallButton

This commit is contained in:
Daniel Chick 2023-10-17 18:15:18 -05:00
parent 13715930af
commit 5b1cc4a93d

View file

@ -110,10 +110,7 @@ struct XcodeListViewRow: View {
.buttonStyle(AppStoreButtonStyle(primary: true, highlighted: selected))
.help("OpenDescription")
case .notInstalled:
Button("Install") { appState.checkMinVersionAndInstall(id: xcode.id) }
.textCase(.uppercase)
.buttonStyle(AppStoreButtonStyle(primary: false, highlighted: selected))
.help("InstallDescription")
InstallButton(xcode: xcode)
case let .installing(installationStep):
InstallationStepRowView(
installationStep: installationStep,