fix(StatusChatToolBar): Updated activity center button size

Activity center button has now the same size than the other toolbar buttons.

Fixes https://github.com/status-im/status-desktop/issues/6216
This commit is contained in:
Noelia 2022-06-23 11:23:08 +02:00 committed by Michał Cieślak
parent 6207e1f34f
commit 9f3aa21834
2 changed files with 2 additions and 3 deletions

View File

@ -137,6 +137,8 @@ Item {
StatusActivityCenterButton { StatusActivityCenterButton {
id: notificationButton id: notificationButton
width: 32
height: width
unreadNotificationsCount: statusChatToolBar.notificationCount unreadNotificationsCount: statusChatToolBar.notificationCount
onClicked: statusChatToolBar.notificationButtonClicked() onClicked: statusChatToolBar.notificationButtonClicked()
} }

View File

@ -31,9 +31,6 @@ StatusFlatRoundButton {
*/ */
property alias unreadNotificationsCount: statusBadge.value property alias unreadNotificationsCount: statusBadge.value
implicitWidth: 32
implicitHeight: 32
icon.name: "notification" icon.name: "notification"
icon.height: 21 icon.height: 21
type: StatusFlatRoundButton.Type.Secondary type: StatusFlatRoundButton.Type.Secondary