diff options
Diffstat (limited to 'iTexSnip/iTexSnipApp.swift')
-rw-r--r-- | iTexSnip/iTexSnipApp.swift | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/iTexSnip/iTexSnipApp.swift b/iTexSnip/iTexSnipApp.swift index d69546b..c4d686a 100644 --- a/iTexSnip/iTexSnipApp.swift +++ b/iTexSnip/iTexSnipApp.swift @@ -6,12 +6,26 @@ // import SwiftUI +import SwiftData + @main struct iTexSnipApp: App { var body: some Scene { - WindowGroup { - ContentView() +// WindowGroup { +// MenuBarView() +// .modelContainer(for: ImageSnippet.self) +// } + MenuBarExtra("iTexSnip", systemImage: "function") { + MenuBarView() + .frame(width: 500, height: 600) + .modelContainer(for: ImageSnippet.self) + }.menuBarExtraStyle(.window) + Settings { + PreferencesView() } } } + + + |