Skip to content

Commit 766246a

Browse files
committed
fix updateDevice log events
1 parent efb9ecc commit 766246a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Nudge/Utilities/Utils.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -1354,7 +1354,7 @@ struct UIUtilities {
13541354

13551355
func postUpdateDeviceActions(userClicked: Bool, unSupportedUI: Bool) {
13561356
if userClicked {
1357-
LogManager.notice(unSupportedUI ? "User clicked updateDevice" : "User clicked updateDevice (Replace My Device) via Unsupported UI workflow", logger: uiLog)
1357+
LogManager.notice(unSupportedUI ? "User clicked updateDevice (Replace My Device) via Unsupported UI workflow" : "User clicked updateDevice" , logger: uiLog)
13581358
// Remove forced blur and reset window level
13591359
if !nudgePrimaryState.backgroundBlur.isEmpty {
13601360
nudgePrimaryState.backgroundBlur.forEach { blurWindowController in
@@ -1365,7 +1365,7 @@ struct UIUtilities {
13651365
NSApp.windows.first?.level = .normal
13661366
}
13671367
} else {
1368-
LogManager.notice(unSupportedUI ? "Synthetically clicked updateDevice due to allowedDeferral count" : "Synthetically clicked updateDevice via Unsupported UI due to allowedDeferral count", logger: uiLog)
1368+
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)
13691369
}
13701370
}
13711371

0 commit comments

Comments
 (0)