Rename project

This commit is contained in:
Arkadiusz Fal
2021-11-07 14:32:01 +01:00
parent 058c6830e4
commit 464f5815fb
21 changed files with 133 additions and 156 deletions

29
Shared/YatteeApp.swift Normal file
View 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
}
}