From 399b9e6944be2f0d273e76ded9ccd3cd91d68a85 Mon Sep 17 00:00:00 2001 From: Tobias Fella Date: Sun, 30 Jul 2023 22:29:21 +0200 Subject: [PATCH] Add text and tooltip to section collapse/expand button --- src/qml/Page/RoomList/Page.qml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/qml/Page/RoomList/Page.qml b/src/qml/Page/RoomList/Page.qml index a73dbc2b2..41cfe48b2 100644 --- a/src/qml/Page/RoomList/Page.qml +++ b/src/qml/Page/RoomList/Page.qml @@ -193,6 +193,12 @@ Kirigami.Page { width: Kirigami.Units.iconSizes.small height: Kirigami.Units.iconSizes.small } + text: roomListModel.categoryVisible(section) ? i18nc("Collapse
", "Collapse %1", roomListModel.categoryName(section)) : i18nc("Expand