blob: 1c16f712774d90e3f5a109db70edada6581176b7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
import SwiftUI
import SwiftData
@main
struct PolocyteApp: App {
@State private var bodyText: String = ""
var body: some Scene {
MenuBarExtra("Polocyte", systemImage: "hare") {
VStack {
TextEditor(text: $bodyText)
}
.padding([.top, .bottom, .leading, .trailing], 10)
.frame(width: 600, height: 400)
}
.menuBarExtraStyle(.window)
}
}
|