From 636b39d082dfe31048c478ed67e039d1bd6e697b Mon Sep 17 00:00:00 2001 From: Pascal Precht Date: Wed, 12 May 2021 12:02:09 +0200 Subject: [PATCH] fix(StatusLetterIdenticon): ensure letterSize is correct Due to historic reasons, conditionally assign a font size for the letter identicon, based on whether or not the app's compact mode is active. Compact mode has become the new default a while back and the component's `isCompact` property isn't set anywhere in throughout the application, resulting in `letterSize` to always be `21`, which is too big. This commit removes the condition, defaulting to always having a letter size of 15 pixels as designed. --- ui/shared/status/StatusLetterIdenticon.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/shared/status/StatusLetterIdenticon.qml b/ui/shared/status/StatusLetterIdenticon.qml index a9be93149f..6db66b6f9c 100644 --- a/ui/shared/status/StatusLetterIdenticon.qml +++ b/ui/shared/status/StatusLetterIdenticon.qml @@ -7,7 +7,7 @@ Rectangle { property string chatId property string chatName - property int letterSize: root.isCompact ? 15 : 21 + property int letterSize: 15 width: 40 height: 40