Redesign dashboard

This commit is contained in:
世界 committed 2025-11-26 22:25:51 +08:00
1 parent b7a810b168
commit 68b4142340
17 files changed
+759 -89

No files matched your search

+5
View File
@@ -30,6 +30,11 @@ public struct MainView: View {
ToolbarItem(placement: .navigation) {
StartStopButton()
}
if viewModel.selection == .dashboard {
ToolbarItem(placement: .automatic) {
DashboardMenu()
}
}
}
.onChangeCompat(of: controlActiveState) { newValue in
viewModel.onControlActiveStateChange(newValue, environments: environments)