diff --git a/DuckDuckGo/Assets.xcassets/Images/ReleaseNotesIndicator.imageset/Contents.json b/DuckDuckGo/Assets.xcassets/Images/ReleaseNotesIndicator.imageset/Contents.json new file mode 100644 index 0000000000..552be25080 --- /dev/null +++ b/DuckDuckGo/Assets.xcassets/Images/ReleaseNotesIndicator.imageset/Contents.json @@ -0,0 +1,12 @@ +{ + "images" : [ + { + "filename" : "Document-Color-16.pdf", + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/DuckDuckGo/Assets.xcassets/Images/ReleaseNotesIndicator.imageset/Document-Color-16.pdf b/DuckDuckGo/Assets.xcassets/Images/ReleaseNotesIndicator.imageset/Document-Color-16.pdf new file mode 100644 index 0000000000..5db4a4627f Binary files /dev/null and b/DuckDuckGo/Assets.xcassets/Images/ReleaseNotesIndicator.imageset/Document-Color-16.pdf differ diff --git a/DuckDuckGo/Tab/ViewModel/TabViewModel.swift b/DuckDuckGo/Tab/ViewModel/TabViewModel.swift index e9bae21191..42c3067570 100644 --- a/DuckDuckGo/Tab/ViewModel/TabViewModel.swift +++ b/DuckDuckGo/Tab/ViewModel/TabViewModel.swift @@ -548,7 +548,7 @@ private extension NSAttributedString { title: UserText.duckPlayer) static let emailProtectionTrustedIndicator = trustedIndicatorAttributedString(with: .emailProtectionIcon, title: UserText.emailProtectionPreferences) - static let releaseNotesTrustedIndicator = trustedIndicatorAttributedString(with: .duckPlayerSettings, + static let releaseNotesTrustedIndicator = trustedIndicatorAttributedString(with: .releaseNotesIndicator, title: UserText.releaseNotesTitle) } diff --git a/DuckDuckGo/Updates/UpdateController.swift b/DuckDuckGo/Updates/UpdateController.swift index 428540ffc5..f0b7af5062 100644 --- a/DuckDuckGo/Updates/UpdateController.swift +++ b/DuckDuckGo/Updates/UpdateController.swift @@ -232,14 +232,14 @@ extension UpdateController: SPUUpdaterDelegate { func updater(_ updater: SPUUpdater, didFindValidUpdate item: SUAppcastItem) { os_log("Updater did find valid update: \(item.displayVersionString)(\(item.versionString))", log: .updates) + PixelKit.fire(DebugEvent(GeneralPixel.updaterDidFindUpdate)) + guard !areAutomaticUpdatesEnabled else { // If automatic updates are enabled, we are waiting until the update is downloaded return } // For manual updates, show the available update without downloading onUpdateCheckEnd(item: item, isInstalled: false) - - PixelKit.fire(DebugEvent(GeneralPixel.updaterDidFindUpdate)) } func updaterDidNotFindUpdate(_ updater: SPUUpdater, error: any Error) { diff --git a/LocalPackages/SwiftUIExtensions/Sources/SwiftUIExtensions/Assets.xcassets/Images/UpdateNotificationClose.imageset/Contents.json b/LocalPackages/SwiftUIExtensions/Sources/SwiftUIExtensions/Assets.xcassets/Images/UpdateNotificationClose.imageset/Contents.json index dd99513416..febda811fd 100644 --- a/LocalPackages/SwiftUIExtensions/Sources/SwiftUIExtensions/Assets.xcassets/Images/UpdateNotificationClose.imageset/Contents.json +++ b/LocalPackages/SwiftUIExtensions/Sources/SwiftUIExtensions/Assets.xcassets/Images/UpdateNotificationClose.imageset/Contents.json @@ -8,5 +8,8 @@ "info" : { "author" : "xcode", "version" : 1 + }, + "properties" : { + "template-rendering-intent" : "template" } }