Skip to content

Commit

Permalink
old swift
Browse files Browse the repository at this point in the history
  • Loading branch information
brindy committed Oct 31, 2023
1 parent 18056bb commit c95a29f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DuckDuckGo/ThemeEditorViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -715,9 +715,9 @@ extension UIColor {
var forSaving: String {
if isCatalogColor,
let bundle = (value(forKey: "_assetManager") as AnyObject).value(forKey: "_bundle") as? Bundle {
"\(bundle.name ?? "").\(catalogName ?? "")"
return "\(bundle.name ?? "").\(catalogName ?? "")"
} else {
hexString ?? ""
return hexString ?? ""
}
}

Expand Down

0 comments on commit c95a29f

Please sign in to comment.