diff --git a/DuckDuckGo/ThemeEditorViewController.swift b/DuckDuckGo/ThemeEditorViewController.swift index 1b9e823a7a..f51dd37919 100644 --- a/DuckDuckGo/ThemeEditorViewController.swift +++ b/DuckDuckGo/ThemeEditorViewController.swift @@ -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 ?? "" } }