Remove user status hover effect and background color.
authorCamila Ayres <hello@camilasan.com>
Fri, 13 Sep 2024 09:28:14 +0000 (11:28 +0200)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Fri, 13 Sep 2024 11:40:45 +0000 (11:40 +0000)
Signed-off-by: Camila Ayres <hello@camilasan.com>
src/gui/tray/Window.qml

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