Skip to content

Commit 9622b56

Browse files
committed
Move button styling to not affect the info pane
1 parent 4649ba0 commit 9622b56

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

Xcodes/Backend/XcodeCommands.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,8 @@ struct InstallButton: View {
4343
install()
4444
} label: {
4545
Text("Install")
46-
.textCase(.uppercase)
4746
.help("InstallDescription")
48-
}.buttonStyle(AppStoreButtonStyle(primary: false, highlighted: false))
47+
}
4948
}
5049

5150
private func install() {

Xcodes/Frontend/XcodeList/XcodeListViewRow.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ struct XcodeListViewRow: View {
111111
.help("OpenDescription")
112112
case .notInstalled:
113113
InstallButton(xcode: xcode)
114+
.textCase(.uppercase)
115+
.buttonStyle(AppStoreButtonStyle(primary: false, highlighted: false))
114116
case let .installing(installationStep):
115117
InstallationStepRowView(
116118
installationStep: installationStep,

0 commit comments

Comments
 (0)