Redesign dashboard

This commit is contained in:
世界
2025-11-26 22:25:51 +08:00
parent b7a810b168
commit 68b4142340
17 changed files with 759 additions and 89 deletions
+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)