[ios] Changed icons for search categories to SVGs and matched their new style

Signed-off-by: Yannik Bloscheck <git@yannikbloscheck.com>
This commit is contained in:
Yannik Bloscheck
2025-07-11 16:10:37 +02:00
committed by Konstantin Pastbin
parent d85949c716
commit 527031adba
357 changed files with 634 additions and 1646 deletions

View File

@@ -15,11 +15,11 @@ final class SearchCategoryCell: UITableViewCell {
func configure(with categoryName: String) {
self.categoryName = categoryName
textLabel?.text = L(categoryName)
imageView?.mwm_name = String(format: "ic_%@", categoryName)
imageView?.image = UIImage(named: String(format: "Search/Categories/%@", categoryName.replacingOccurrences(of: "category_", with: "")))
}
override func applyTheme() {
super.applyTheme()
imageView?.mwm_name = String(format: "ic_%@", categoryName)
imageView?.image = UIImage(named: String(format: "Search/Categories/%@", categoryName.replacingOccurrences(of: "category_", with: "")))
}
}