From 27fc32469e1015eb71d3f013cef07df75ea201f9 Mon Sep 17 00:00:00 2001 From: Khushboo Mehta Date: Thu, 12 Aug 2021 16:43:46 +0200 Subject: [PATCH] fix(@desktop/chat): Activity tooltip arrow position is incorrect Updated offset of the notification tooltip arrow based on if the members list is visible. The arrow should be in center when member list is visible else it should be right aligned as there is no place on the window fixes #3102 --- ui/StatusQ | 2 +- ui/app/AppLayouts/Chat/ChatColumn.qml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/StatusQ b/ui/StatusQ index 2e1359c9e2..d24c2e6208 160000 --- a/ui/StatusQ +++ b/ui/StatusQ @@ -1 +1 @@ -Subproject commit 2e1359c9e253b5fa128e892ab6f3f9905b0ce42d +Subproject commit d24c2e6208062e27c4bd16915ab6b14aec05138b diff --git a/ui/app/AppLayouts/Chat/ChatColumn.qml b/ui/app/AppLayouts/Chat/ChatColumn.qml index 0bd762ece2..3d22860318 100644 --- a/ui/app/AppLayouts/Chat/ChatColumn.qml +++ b/ui/app/AppLayouts/Chat/ChatColumn.qml @@ -239,6 +239,7 @@ Item { membersButton.visible: appSettings.showOnlineUsers && chatsModel.channelView.activeChannel.chatType !== Constants.chatTypeOneToOne membersButton.highlighted: showUsers notificationButton.visible: appSettings.isActivityCenterEnabled + notificationButton.tooltip.offset: showUsers ? 0 : 14 notificationCount: chatsModel.activityNotificationList.unreadCount onSearchButtonClicked: searchPopup.open()