Skip to content

Commit

Permalink
Update SettingsUpdateView layout
Browse files Browse the repository at this point in the history
  • Loading branch information
tekezo committed Jan 22, 2025
1 parent 62862aa commit d33adaa
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions src/ShowyEdge/swift/Views/Settings/SettingsUpdateView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ struct SettingsUpdateView: View {

CheckForBetaUpdatesView()
}
}.padding()
}
.padding()
.frame(maxWidth: .infinity, alignment: .leading)
}

GroupBox(label: Text("Websites")) {
Expand All @@ -31,14 +33,13 @@ struct SettingsUpdateView: View {
NSWorkspace.shared.open(URL(string: "https://github.com/pqrs-org/ShowyEdge")!)
},
label: {
Label("Open GitHub (source code)", systemImage: "network")
Label("Open GitHub (source code)", systemImage: "hammer")
})
Spacer()
}.padding()
}
.padding()
.frame(maxWidth: .infinity, alignment: .leading)
}

Spacer()
}.padding()
}
}

// This additional view is needed for the disabled state on the menu item to work properly before Monterey.
Expand All @@ -50,7 +51,7 @@ struct SettingsUpdateView: View {
Button(
action: { updater.checkForUpdatesStableOnly() },
label: {
Label("Check for updates...", systemImage: "star")
Label("Check for updates...", systemImage: "network")
}
)
.disabled(!updater.canCheckForUpdates)
Expand All @@ -66,7 +67,7 @@ struct SettingsUpdateView: View {
Button(
action: { updater.checkForUpdatesWithBetaVersion() },
label: {
Label("Check for beta updates...", systemImage: "star.circle")
Label("Check for beta updates...", systemImage: "sparkles")
}
)
.disabled(!updater.canCheckForUpdates)
Expand Down

0 comments on commit d33adaa

Please sign in to comment.