This commit is contained in:
neon443 committed 2025-05-21 18:10:22 +01:00
1 parent 773a083682
commit 62318c5ddc
6 files changed
+71 -13

No files matched your search

+37 -6
View File
@@ -11,15 +11,46 @@ import SwiftUI
@main
struct NearFutureApp: App {
@StateObject var settingsModel: SettingsViewModel = SettingsViewModel()
var body: some Scene {
WindowGroup {
ContentView(
viewModel: EventViewModel(),
settingsModel: settingsModel
)
NavigationSplitView {
List {
NavigationLink {
} label: {
Image(systemName: "house")
Text("Home")
}
NavigationLink {
} label: {
Image(systemName: "tray.full")
Text("Archive")
}
}
} detail: {
ContentView(
viewModel: EventViewModel(),
settingsModel: settingsModel
)
}
.tint(settingsModel.settings.tint.color)
.frame(minWidth: 350, minHeight: 450)
.frame(minWidth: 450, minHeight: 550)
.containerBackground(.ultraThinMaterial, for: .window)
}
.defaultSize(width: 550, height: 650)
.commands {
NearFutureCommands()
}
Window("About Near Future", id: "about") {
}
Settings {
Text("wip")
}
.defaultSize(width: 450, height: 550)
}
}
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.