mirror of
https://github.com/neon443/NearFuture.git
synced 2026-03-11 06:49:12 +00:00
add homeView respect show completed events in home archive view move inot contentview new mac icon remove mac icons from the variants
37 lines
601 B
Swift
37 lines
601 B
Swift
//
|
|
// MacNearFutureApp.swift
|
|
// MacNearFuture
|
|
//
|
|
// Created by neon443 on 21/05/2025.
|
|
//
|
|
|
|
import Foundation
|
|
import SwiftUI
|
|
|
|
@main
|
|
struct NearFutureApp: App {
|
|
@StateObject var viewModel: EventViewModel = EventViewModel()
|
|
@StateObject var settingsModel: SettingsViewModel = SettingsViewModel()
|
|
|
|
var body: some Scene {
|
|
WindowGroup {
|
|
ContentView(
|
|
viewModel: viewModel,
|
|
settingsModel: settingsModel
|
|
)
|
|
}
|
|
.defaultSize(width: 550, height: 650)
|
|
.commands {
|
|
NearFutureCommands()
|
|
}
|
|
|
|
Window("About Near Future", id: "about") {
|
|
|
|
}
|
|
|
|
Settings {
|
|
Text("wip")
|
|
}
|
|
}
|
|
}
|