diff --git a/src/gui/tray/Window.qml b/src/gui/tray/Window.qml index c6d4317e7a09d..9ec57f16c2877 100644 --- a/src/gui/tray/Window.qml +++ b/src/gui/tray/Window.qml @@ -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