mirror of
https://github.com/yattee/yattee.git
synced 2025-08-09 20:24:06 +00:00
Rename project
This commit is contained in:
29
Shared/YatteeApp.swift
Normal file
29
Shared/YatteeApp.swift
Normal file
@@ -0,0 +1,29 @@
|
||||
import Defaults
|
||||
import SwiftUI
|
||||
|
||||
@main
|
||||
struct YatteeApp: App {
|
||||
#if os(macOS)
|
||||
@NSApplicationDelegateAdaptor(AppDelegate.self) var appDelegate
|
||||
#endif
|
||||
|
||||
var body: some Scene {
|
||||
WindowGroup {
|
||||
ContentView()
|
||||
}
|
||||
#if !os(tvOS)
|
||||
.handlesExternalEvents(matching: Set(["*"]))
|
||||
.commands {
|
||||
SidebarCommands()
|
||||
CommandGroup(replacing: .newItem, addition: {})
|
||||
}
|
||||
#endif
|
||||
|
||||
#if os(macOS)
|
||||
Settings {
|
||||
SettingsView()
|
||||
.environmentObject(InstancesModel())
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user