Uses filled symbol images for category menu picker

This commit is contained in:
Riley Testut
2023-12-08 18:41:12 -06:00
parent ffe8d8bbe1
commit 11fa622b42

View File

@@ -463,7 +463,7 @@ private extension BrowseViewController
let actions = sortedCategories.map { category in
let state: UIAction.State = (category == self.category) ? .on : .off
let image = UIImage(systemName: category.symbolName)?.withTintColor(category.tintColor, renderingMode: .alwaysOriginal)
let image = UIImage(systemName: category.filledSymbolName)?.withTintColor(category.tintColor, renderingMode: .alwaysOriginal)
return UIAction(title: category.localizedName, image: image, state: state) { _ in
handler(category)
}