From 03bbd1483e56c53a396b2f85eba09206eb0ed7d2 Mon Sep 17 00:00:00 2001 From: "trop[bot]" <37223003+trop[bot]@users.noreply.github.com> Date: Fri, 7 Jun 2024 14:02:46 -0400 Subject: [PATCH] fix: `loginService` -> `loginItemService` (#42403) fix: loginService -> loginItemService Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Shelley Vohr --- shell/common/platform_util_mac.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/common/platform_util_mac.mm b/shell/common/platform_util_mac.mm index 32972a5dfe4..ad9b51a576c 100644 --- a/shell/common/platform_util_mac.mm +++ b/shell/common/platform_util_mac.mm @@ -128,7 +128,7 @@ SMAppService* GetServiceForType(const std::string& type, return [SMAppService agentServiceWithPlistName:service_name]; } else if (type == "daemonService") { return [SMAppService daemonServiceWithPlistName:service_name]; - } else if (type == "loginService") { + } else if (type == "loginItemService") { return [SMAppService loginItemServiceWithIdentifier:service_name]; } else { LOG(ERROR) << "Unrecognized login item type";