diff options
author | Navan Chauhan <navanchauhan@gmail.com> | 2024-10-21 23:52:51 -0600 |
---|---|---|
committer | Navan Chauhan <navanchauhan@gmail.com> | 2024-10-21 23:52:51 -0600 |
commit | 126c5a27ee98146c349303ecc7c77f6413cfe5fe (patch) | |
tree | eb0621d917724cd6902fb70726a5f8fd7a86718d /iTexSnip/iTexSnipApp.swift | |
parent | 73de888ac3db155bd7398f393ec30a87b47778e0 (diff) |
fix git sync
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() } } } + + + |