fix(ChatHeaderContentView): port to StatusChatInfoButton changes

- `sensor` no longer exists
- no need to constrain the button width, it's used in a toolbar Loader
that fills the width

Closes: #7313
This commit is contained in:
Lukáš Tinkl 2022-09-14 12:41:29 +02:00 committed by Lukáš Tinkl
parent 010877e9b3
commit 0794736c36
1 changed files with 1 additions and 2 deletions

View File

@ -251,7 +251,6 @@ RowLayout {
StatusChatInfoButton {
objectName: "chatInfoBtnInHeader"
width: Math.min(implicitWidth, parent.width)
title: chatContentModule? chatContentModule.chatDetails.name : ""
subTitle: {
if(!chatContentModule)
@ -310,7 +309,7 @@ RowLayout {
chatContentModule.unmuteChat()
}
sensor.enabled: {
hoverEnabled: {
if(!chatContentModule)
return false