From 126c5a27ee98146c349303ecc7c77f6413cfe5fe Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Mon, 21 Oct 2024 23:52:51 -0600 Subject: fix git sync --- iTexSnip/iTexSnipApp.swift | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'iTexSnip/iTexSnipApp.swift') 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() } } } + + + -- cgit v1.2.3