From 77e90044aa8405cf0393e5730a6fb8dc53118153 Mon Sep 17 00:00:00 2001 From: Max Goedjen Date: Tue, 14 Dec 2021 20:51:05 -0800 Subject: [PATCH] Turn on warnings --- Secretive/Controllers/ShellConfigurationController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Secretive/Controllers/ShellConfigurationController.swift b/Secretive/Controllers/ShellConfigurationController.swift index 431e0ad..2f3e4c6 100644 --- a/Secretive/Controllers/ShellConfigurationController.swift +++ b/Secretive/Controllers/ShellConfigurationController.swift @@ -29,7 +29,7 @@ struct ShellConfigurationController { } - func addToShell(shellInstructions: ShellConfigInstruction) -> Bool { + @MainActor func addToShell(shellInstructions: ShellConfigInstruction) -> Bool { let openPanel = NSOpenPanel() // This is sync, so no need to strongly retain let delegate = Delegate(name: shellInstructions.shellConfigFilename)