fix(@desktop/statusq): Fix icons background square, but must be circle

regression.

Fixes: #9714
This commit is contained in:
Ivan Belyakov 2023-03-02 16:02:25 +03:00 committed by Lukáš Tinkl
parent c55fb96652
commit e6226ab564
5 changed files with 6 additions and 0 deletions

View File

@ -18,6 +18,7 @@ Row {
height: Math.min(bgHeight, dummyImage.height)
bgWidth: root.tiny ? 10 : 16.5
bgHeight: root.tiny ? 10 : 16.5
bgRadius: bgWidth / 2
bgColor: Theme.palette.primaryColor1
// Only used to get implicit width and height from the actual image
property Image dummyImage: Image {
@ -35,6 +36,7 @@ Row {
height: Math.min(bgHeight, dummyImage.height)
bgWidth: root.tiny ? 10 : 16
bgHeight: root.tiny ? 10 : 16
bgRadius: bgWidth / 2
bgColor: root.trustIndicator === StatusContactVerificationIcons.TrustedType.Verified ? Theme.palette.primaryColor1 : Theme.palette.dangerColor1
// Only used to get implicit width and height from the actual image
property Image dummyImage: Image {

View File

@ -25,6 +25,7 @@ Rectangle {
color: Theme.palette.directColor1
bgWidth: 32
bgHeight: 32
bgRadius: bgWidth / 2
bgColor: Theme.palette.primaryColor2
}

View File

@ -46,6 +46,7 @@ Rectangle {
Theme.palette.dangerColor1 : Theme.palette.primaryColor1
bgWidth: 40
bgHeight: 40
bgRadius: bgWidth / 2
bgColor: {
if (sensor.containsMouse) {
return type === StatusListItem.Type.Secondary ||

View File

@ -28,6 +28,7 @@ Control {
bgWidth: 15
bgHeight: 15
bgColor: Theme.palette.primaryColor3
bgRadius: bgWidth / 2
imgIsIdenticon: false
}

View File

@ -15,6 +15,7 @@ Loader {
property StatusAssetSettings asset: StatusAssetSettings {
width: 40
height: 40
bgRadius: bgWidth / 2
}
property StatusIdenticonRingSettings ringSettings: StatusIdenticonRingSettings {