Remove user status hover effect and background color.

Signed-off-by: Camila Ayres <hello@camilasan.com>
This commit is contained in:
Camila Ayres 2024-09-13 11:28:14 +02:00
parent 9e5192ead3
commit 939eb00f2c
No known key found for this signature in database
GPG Key ID: 7A4A6121E88E2AD4

View File

@ -441,22 +441,22 @@ ApplicationWindow {
height: width
anchors.bottom: currentAccountAvatar.bottom
anchors.right: currentAccountAvatar.right
color: Style.currentUserHeaderColor
radius: width * Style.trayFolderStatusIndicatorRadiusFactor
}
Rectangle {
id: currentAccountStatusIndicatorMouseHover
visible: UserModel.currentUser && UserModel.currentUser.isConnected
&& UserModel.currentUser.serverHasUserStatus
width: Style.accountAvatarStateIndicatorSize + + Style.trayFolderStatusIndicatorSizeOffset
height: width
anchors.bottom: currentAccountAvatar.bottom
anchors.right: currentAccountAvatar.right
color: currentAccountButton.hovered ? Style.currentUserHeaderTextColor : palette.window
opacity: Style.trayFolderStatusIndicatorMouseHoverOpacityFactor
radius: width * Style.trayFolderStatusIndicatorRadiusFactor
}
// TODO: check if we want add any hover effect
// Rectangle {
// id: currentAccountStatusIndicatorMouseHover
// visible: UserModel.currentUser && UserModel.currentUser.isConnected
// && UserModel.currentUser.serverHasUserStatus
// width: Style.accountAvatarStateIndicatorSize + + Style.trayFolderStatusIndicatorSizeOffset
// height: width
// anchors.bottom: currentAccountAvatar.bottom
// anchors.right: currentAccountAvatar.right
// color: currentAccountButton.hovered ? palette.highlight : palette.window
// opacity: Style.trayFolderStatusIndicatorMouseHoverOpacityFactor
// radius: width * Style.trayFolderStatusIndicatorRadiusFactor
// }
Image {
id: currentAccountStatusIndicator