From e6226ab564ef7cb65cea94789940359a67fb41bb Mon Sep 17 00:00:00 2001 From: Ivan Belyakov Date: Thu, 2 Mar 2023 16:02:25 +0300 Subject: [PATCH] fix(@desktop/statusq): Fix icons background square, but must be circle regression. Fixes: #9714 --- .../src/StatusQ/Components/StatusContactVerificationIcons.qml | 2 ++ ui/StatusQ/src/StatusQ/Components/StatusExpandableItem.qml | 1 + ui/StatusQ/src/StatusQ/Components/StatusListItem.qml | 1 + ui/StatusQ/src/StatusQ/Components/StatusListItemTag.qml | 1 + ui/StatusQ/src/StatusQ/Components/StatusSmartIdenticon.qml | 1 + 5 files changed, 6 insertions(+) diff --git a/ui/StatusQ/src/StatusQ/Components/StatusContactVerificationIcons.qml b/ui/StatusQ/src/StatusQ/Components/StatusContactVerificationIcons.qml index 2067860e57..ff877ea945 100644 --- a/ui/StatusQ/src/StatusQ/Components/StatusContactVerificationIcons.qml +++ b/ui/StatusQ/src/StatusQ/Components/StatusContactVerificationIcons.qml @@ -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 { diff --git a/ui/StatusQ/src/StatusQ/Components/StatusExpandableItem.qml b/ui/StatusQ/src/StatusQ/Components/StatusExpandableItem.qml index c9ad145940..88c04dee46 100644 --- a/ui/StatusQ/src/StatusQ/Components/StatusExpandableItem.qml +++ b/ui/StatusQ/src/StatusQ/Components/StatusExpandableItem.qml @@ -25,6 +25,7 @@ Rectangle { color: Theme.palette.directColor1 bgWidth: 32 bgHeight: 32 + bgRadius: bgWidth / 2 bgColor: Theme.palette.primaryColor2 } diff --git a/ui/StatusQ/src/StatusQ/Components/StatusListItem.qml b/ui/StatusQ/src/StatusQ/Components/StatusListItem.qml index 2e54441f88..8b94cb6142 100644 --- a/ui/StatusQ/src/StatusQ/Components/StatusListItem.qml +++ b/ui/StatusQ/src/StatusQ/Components/StatusListItem.qml @@ -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 || diff --git a/ui/StatusQ/src/StatusQ/Components/StatusListItemTag.qml b/ui/StatusQ/src/StatusQ/Components/StatusListItemTag.qml index 18a732dca2..13c48f3ab9 100644 --- a/ui/StatusQ/src/StatusQ/Components/StatusListItemTag.qml +++ b/ui/StatusQ/src/StatusQ/Components/StatusListItemTag.qml @@ -28,6 +28,7 @@ Control { bgWidth: 15 bgHeight: 15 bgColor: Theme.palette.primaryColor3 + bgRadius: bgWidth / 2 imgIsIdenticon: false } diff --git a/ui/StatusQ/src/StatusQ/Components/StatusSmartIdenticon.qml b/ui/StatusQ/src/StatusQ/Components/StatusSmartIdenticon.qml index 3b9bd6cbee..ec1d6ce865 100644 --- a/ui/StatusQ/src/StatusQ/Components/StatusSmartIdenticon.qml +++ b/ui/StatusQ/src/StatusQ/Components/StatusSmartIdenticon.qml @@ -15,6 +15,7 @@ Loader { property StatusAssetSettings asset: StatusAssetSettings { width: 40 height: 40 + bgRadius: bgWidth / 2 } property StatusIdenticonRingSettings ringSettings: StatusIdenticonRingSettings {