Skip to content

Commit

Permalink
Release notes trusted indicator changed & Close button fix for dark m…
Browse files Browse the repository at this point in the history
…ode (#3041)

Task/Issue URL:
https://app.asana.com/0/72649045549333/1207907199406205/f
https://app.asana.com/0/1148564399326804/1207905046877700/f
Tech Design URL:
CC:

**Description**:
Release notes trusted indicator changed & Close button fix for dark mode
  • Loading branch information
tomasstrba authored Aug 6, 2024
1 parent cbe237e commit 02caf5e
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"images" : [
{
"filename" : "Document-Color-16.pdf",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Binary file not shown.
2 changes: 1 addition & 1 deletion DuckDuckGo/Tab/ViewModel/TabViewModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)

}
4 changes: 2 additions & 2 deletions DuckDuckGo/Updates/UpdateController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,8 @@
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"template-rendering-intent" : "template"
}
}

0 comments on commit 02caf5e

Please sign in to comment.