Skip to content

Commit

Permalink
fix updateDevice log events
Browse files Browse the repository at this point in the history
  • Loading branch information
erikng committed Jul 22, 2024
1 parent efb9ecc commit 766246a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Nudge/Utilities/Utils.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
}
}

Expand Down

0 comments on commit 766246a

Please sign in to comment.