We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 578bd15 commit d7b7f96Copy full SHA for d7b7f96
phpmon/Domain/App/Startup.swift
@@ -22,7 +22,7 @@ class Startup {
22
Log.info("The user is running PHP Monitor with the architecture: \(App.architecture)")
23
24
// Set up a "background" timer on the main thread
25
- Task { @MainActor in
+ await MainActor.run {
26
startStartupTimer()
27
}
28
phpmon/Domain/Menu/MainMenu+Startup.swift
@@ -15,7 +15,7 @@ extension MainMenu {
15
*/
16
func startup() async {
17
// Start with the icon
18
19
self.setStatusBar(image: NSImage.statusBarIcon)
20
21
0 commit comments