Skip to content

Commit 5b1cc4a

Browse files
committed
Swap button to InstallButton
1 parent 1371593 commit 5b1cc4a

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

Xcodes/Frontend/XcodeList/XcodeListViewRow.swift

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,7 @@ struct XcodeListViewRow: View {
110110
.buttonStyle(AppStoreButtonStyle(primary: true, highlighted: selected))
111111
.help("OpenDescription")
112112
case .notInstalled:
113-
Button("Install") { appState.checkMinVersionAndInstall(id: xcode.id) }
114-
.textCase(.uppercase)
115-
.buttonStyle(AppStoreButtonStyle(primary: false, highlighted: selected))
116-
.help("InstallDescription")
113+
InstallButton(xcode: xcode)
117114
case let .installing(installationStep):
118115
InstallationStepRowView(
119116
installationStep: installationStep,

0 commit comments

Comments
 (0)