mirror of
https://github.com/ninxsoft/Mist.git
synced 2025-05-21 10:45:27 -04:00
Fix About view padding
This commit is contained in:
parent
d58bf5137a
commit
76bb62c2b6
1 changed files with 2 additions and 3 deletions
|
@ -16,7 +16,7 @@ struct SettingsAboutView: View {
|
||||||
Bundle.main.infoDictionary?["CFBundleVersion"] as? String ?? ""
|
Bundle.main.infoDictionary?["CFBundleVersion"] as? String ?? ""
|
||||||
}
|
}
|
||||||
private let length: CGFloat = 128
|
private let length: CGFloat = 128
|
||||||
private let spacing: CGFloat = 5
|
private let spacing: CGFloat = 3
|
||||||
|
|
||||||
var body: some View {
|
var body: some View {
|
||||||
VStack(alignment: .leading) {
|
VStack(alignment: .leading) {
|
||||||
|
@ -28,8 +28,7 @@ struct SettingsAboutView: View {
|
||||||
Text("The macOS Installer Super Tool")
|
Text("The macOS Installer Super Tool")
|
||||||
.font(.title3)
|
.font(.title3)
|
||||||
HStack(spacing: spacing) {
|
HStack(spacing: spacing) {
|
||||||
Text("Version: ")
|
Text("Version: \(version)")
|
||||||
Text(version)
|
|
||||||
Text("(\(build))")
|
Text("(\(build))")
|
||||||
.foregroundColor(.secondary)
|
.foregroundColor(.secondary)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue