From 766246a053e562c89d807656b5b952a61ff9d4f8 Mon Sep 17 00:00:00 2001 From: Erik Gomez Date: Mon, 22 Jul 2024 08:21:43 -0500 Subject: [PATCH] fix updateDevice log events --- Nudge/Utilities/Utils.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Nudge/Utilities/Utils.swift b/Nudge/Utilities/Utils.swift index 4784db38..84f828c9 100644 --- a/Nudge/Utilities/Utils.swift +++ b/Nudge/Utilities/Utils.swift @@ -1354,7 +1354,7 @@ struct UIUtilities { func postUpdateDeviceActions(userClicked: Bool, unSupportedUI: Bool) { if userClicked { - LogManager.notice(unSupportedUI ? "User clicked updateDevice" : "User clicked updateDevice (Replace My Device) via Unsupported UI workflow", logger: uiLog) + LogManager.notice(unSupportedUI ? "User clicked updateDevice (Replace My Device) via Unsupported UI workflow" : "User clicked updateDevice" , logger: uiLog) // Remove forced blur and reset window level if !nudgePrimaryState.backgroundBlur.isEmpty { nudgePrimaryState.backgroundBlur.forEach { blurWindowController in @@ -1365,7 +1365,7 @@ struct UIUtilities { NSApp.windows.first?.level = .normal } } else { - LogManager.notice(unSupportedUI ? "Synthetically clicked updateDevice due to allowedDeferral count" : "Synthetically clicked updateDevice via Unsupported UI due to allowedDeferral count", logger: uiLog) + LogManager.notice(unSupportedUI ? "Synthetically clicked updateDevice (Replace My Device) via Unsupported UI workflow due to allowedDeferral count" : "Synthetically clicked updateDevice due to allowedDeferral count" , logger: uiLog) } }