mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-10 22:36:24 +00:00
fix(Community Permissions): handling collectible icons fixed
Closes: #11297
This commit is contained in:
parent
6ec40eb3cc
commit
b5d3a0cff9
@ -48,11 +48,11 @@ QtObject {
|
|||||||
sourceModel: communitiesModuleInst.collectiblesModel
|
sourceModel: communitiesModuleInst.collectiblesModel
|
||||||
|
|
||||||
proxyRoles: ExpressionRole {
|
proxyRoles: ExpressionRole {
|
||||||
function icon(icon) {
|
function collectibleIcon(icon) {
|
||||||
return !!icon ? icon : Style.png("tokens/DEFAULT-TOKEN")
|
return !!icon ? icon : Style.png("tokens/DEFAULT-TOKEN")
|
||||||
}
|
}
|
||||||
name: "iconSource"
|
name: "iconSource"
|
||||||
expression: icon(model.icon)
|
expression: collectibleIcon(model.icon)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user