declared types on all views, trying to make a nice mac app

This commit is contained in:
neon443 committed 2025-05-21 17:02:21 +01:00
1 parent 4bf33d50d6
commit e051d73b7e
11 files changed
+377 -74

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
//
// MacNearFutureApp.swift
// MacNearFuture
//
// Created by neon443 on 21/05/2025.
//
import Foundation
import SwiftUI
@main
struct NearFutureApp: App {
@StateObject var settingsModel: SettingsViewModel = SettingsViewModel()
var body: some Scene {
WindowGroup {
ContentView(
viewModel: EventViewModel(),
settingsModel: settingsModel
)
.tint(settingsModel.settings.tint.color)
}
.windowIdealSize(.fitToContent)
}
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.