Finish independent macOS version

This commit is contained in:
世界 committed 2023-07-25 14:04:13 +08:00
1 parent 12bf02070e
commit 486a685bb5
12 files changed
+147 -98

No files matched your search

@@ -78,6 +78,13 @@ public struct ActiveDashboardView: View {
}
}
}
.alert(isPresented: $errorPresented) {
Alert(
title: Text("Error"),
message: Text(errorMessage),
dismissButton: .default(Text("Ok"))
)
}
#if os(iOS)
.onChange(of: scenePhase, perform: { newValue in
if newValue == .active {