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
This commit is contained in:
Khushboo Mehta 2021-08-12 16:43:46 +02:00 committed by Khushboo-dev-cpp
parent c4104b9b32
commit 27fc32469e
2 changed files with 2 additions and 1 deletions

@ -1 +1 @@
Subproject commit 2e1359c9e253b5fa128e892ab6f3f9905b0ce42d
Subproject commit d24c2e6208062e27c4bd16915ab6b14aec05138b

View File

@ -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()