30 lines
800 B
Swift
30 lines
800 B
Swift
import SwiftUI
|
|
|
|
struct AboutSettingsView: View {
|
|
private var versionLabel: String {
|
|
Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String ?? "Unknown"
|
|
}
|
|
|
|
var body: some View {
|
|
VStack(spacing: 16) {
|
|
Image(systemName: "terminal")
|
|
.font(.system(size: 64))
|
|
.foregroundStyle(.secondary)
|
|
|
|
Text("CommandNotch")
|
|
.font(.largeTitle.bold())
|
|
|
|
Text("Version \(versionLabel)")
|
|
.foregroundStyle(.secondary)
|
|
|
|
Text("A drop-down terminal that lives in your notch.")
|
|
.multilineTextAlignment(.center)
|
|
.foregroundStyle(.secondary)
|
|
|
|
Spacer()
|
|
}
|
|
.frame(maxWidth: .infinity)
|
|
.padding(.top, 40)
|
|
}
|
|
}
|