fix(@desktop): Fix icons regressions
Icons in LoginView accounts list and Community members list. Fixes #7284
This commit is contained in:
parent
235e5e86ac
commit
b782cd1c93
|
@ -142,8 +142,8 @@ Item {
|
|||
status: model.onlineStatus
|
||||
asset.color: Utils.colorForColorId(model.colorId)
|
||||
asset.name: model.icon
|
||||
asset.isImage: true
|
||||
asset.imgIsIdenticon: false
|
||||
asset.isImage: !!model.icon
|
||||
asset.isLetterIdenticon: !model.icon
|
||||
asset.width: 40
|
||||
asset.height: 40
|
||||
ringSettings.ringSpecModel: Utils.getColorHashAsJson(model.pubKey)
|
||||
|
|
|
@ -18,9 +18,11 @@ Item {
|
|||
property var colorHash
|
||||
property string image: ""
|
||||
property bool keycardCreatedAccount: false
|
||||
|
||||
property StatusAssetSettings asset: StatusAssetSettings {
|
||||
name: "add"
|
||||
}
|
||||
|
||||
signal clicked()
|
||||
|
||||
width: parent.width
|
||||
|
@ -52,7 +54,7 @@ Item {
|
|||
Component {
|
||||
id: addIcon
|
||||
StatusRoundIcon {
|
||||
asset.name: root.image
|
||||
asset.name: root.asset.name
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -299,6 +299,7 @@ Item {
|
|||
|
||||
AccountMenuItemPanel {
|
||||
label: qsTr("Add new user")
|
||||
asset.name: "add"
|
||||
onClicked: {
|
||||
accountsPopup.close()
|
||||
root.startupStore.doSecondaryAction()
|
||||
|
@ -307,7 +308,7 @@ Item {
|
|||
|
||||
AccountMenuItemPanel {
|
||||
label: qsTr("Add existing Status user")
|
||||
image: "wallet"
|
||||
asset.name: "wallet"
|
||||
onClicked: {
|
||||
accountsPopup.close()
|
||||
root.startupStore.doTertiaryAction()
|
||||
|
|
Loading…
Reference in New Issue