|
@@ -72,7 +72,7 @@ extension UIViewController {
|
|
action: nil)
|
|
action: nil)
|
|
|
|
|
|
let actions = card.actions.map { action -> NCMenuAction in
|
|
let actions = card.actions.map { action -> NCMenuAction in
|
|
- var image = UIImage(named: "user") ?? UIImage()
|
|
|
|
|
|
+ var image = NCUtility.shared.loadImage(named: "user", color: NCBrandColor.shared.label)
|
|
if let url = URL(string: action.icon),
|
|
if let url = URL(string: action.icon),
|
|
let svgSource = SVGKSourceURL.source(from: url),
|
|
let svgSource = SVGKSourceURL.source(from: url),
|
|
let svg = SVGKImage(source: svgSource) {
|
|
let svg = SVGKImage(source: svgSource) {
|