summaryrefslogtreecommitdiff
path: root/Polocyte/PolocyteApp.swift
diff options
context:
space:
mode:
Diffstat (limited to 'Polocyte/PolocyteApp.swift')
-rw-r--r--Polocyte/PolocyteApp.swift17
1 files changed, 17 insertions, 0 deletions
diff --git a/Polocyte/PolocyteApp.swift b/Polocyte/PolocyteApp.swift
new file mode 100644
index 0000000..1c16f71
--- /dev/null
+++ b/Polocyte/PolocyteApp.swift
@@ -0,0 +1,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)
+ }
+}