blob: b5937ba3cc98d0a5131d685015fce9f7f2fe0292 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
 | //
//  iTexSnipApp.swift
//  iTexSnip
//
//  Created by Navan Chauhan on 10/13/24.
//
import SwiftData
import SwiftUI
@main
struct iTexSnipApp: App {
  var body: some Scene {
    //        WindowGroup {
    //            MenuBarView()
    //            .modelContainer(for: ImageSnippet.self)
    //        }
    MenuBarExtra("iTexSnip", systemImage: "function") {
      MenuBarView()
        .frame(width: 500, height: 600)
        .modelContainer(for: ImageSnippet.self)
    }.menuBarExtraStyle(.window)
    Settings {
      PreferencesView()
    }
  }
}
 |