mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-04-20 08:28:51 +03:00
28 lines
473 B
Swift
28 lines
473 B
Swift
import SwiftUI
|
|
|
|
@main
|
|
struct Ghostty_iOSApp: App {
|
|
var body: some Scene {
|
|
WindowGroup {
|
|
iOS_ContentView()
|
|
}
|
|
}
|
|
}
|
|
|
|
struct iOS_ContentView: View {
|
|
var body: some View {
|
|
VStack {
|
|
Image("AppIconImage")
|
|
.resizable()
|
|
.aspectRatio(contentMode: .fit)
|
|
.frame(maxHeight: 96)
|
|
Text("Ghostty")
|
|
}
|
|
.padding()
|
|
}
|
|
}
|
|
|
|
#Preview {
|
|
iOS_ContentView()
|
|
}
|