From 72f62b01eb70e856527b48fb78a2274744441c96 Mon Sep 17 00:00:00 2001 From: Nate Graham Date: Mon, 23 Nov 2020 10:28:29 -0700 Subject: [PATCH] Add tooltips to go up/go down buttons in the view --- imports/NeoChat/Page/RoomPage.qml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/imports/NeoChat/Page/RoomPage.qml b/imports/NeoChat/Page/RoomPage.qml index 465448f9c..d0cd5a37c 100644 --- a/imports/NeoChat/Page/RoomPage.qml +++ b/imports/NeoChat/Page/RoomPage.qml @@ -335,6 +335,10 @@ Kirigami.ScrollablePage { } icon.name: currentRoom && currentRoom.hasUnreadMessages ? "go-up" : "go-down" } + + QQC2.ToolTip { + text: currentRoom && currentRoom.hasUnreadMessages ? i18n("Jump to first unread message") : i18n("Jump to latest message") + } } header: RowLayout {