fix(@desktop/statusq): Fix icons background square, but must be circle
regression. Fixes: #9714
This commit is contained in:
parent
c55fb96652
commit
e6226ab564
|
@ -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 {
|
||||
|
|
|
@ -25,6 +25,7 @@ Rectangle {
|
|||
color: Theme.palette.directColor1
|
||||
bgWidth: 32
|
||||
bgHeight: 32
|
||||
bgRadius: bgWidth / 2
|
||||
bgColor: Theme.palette.primaryColor2
|
||||
}
|
||||
|
||||
|
|
|
@ -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 ||
|
||||
|
|
|
@ -28,6 +28,7 @@ Control {
|
|||
bgWidth: 15
|
||||
bgHeight: 15
|
||||
bgColor: Theme.palette.primaryColor3
|
||||
bgRadius: bgWidth / 2
|
||||
imgIsIdenticon: false
|
||||
}
|
||||
|
||||
|
|
|
@ -15,6 +15,7 @@ Loader {
|
|||
property StatusAssetSettings asset: StatusAssetSettings {
|
||||
width: 40
|
||||
height: 40
|
||||
bgRadius: bgWidth / 2
|
||||
}
|
||||
|
||||
property StatusIdenticonRingSettings ringSettings: StatusIdenticonRingSettings {
|
||||
|
|
Loading…
Reference in New Issue