Skip to content

Commit

Permalink
actually fix log event
Browse files Browse the repository at this point in the history
  • Loading branch information
erikng committed Feb 2, 2024
1 parent 1889e2f commit 5912309
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Nudge/Utilities/Utils.swift
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ struct MemoizationManager {
struct NetworkFileManager {
private func decodeNudgePreferences(from url: URL) -> NudgePreferences? {
guard let data = try? Data(contentsOf: url) else {
if Globals.configProfile != Data() {
if Globals.configProfile.isEmpty {
LogManager.error("Failed to load data from URL: \(url)", logger: prefsJSONLog)
}
return nil
Expand Down

0 comments on commit 5912309

Please sign in to comment.