From 0b5de13c36ae4ad09649704fd4036d329ab8d0b1 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Sat, 17 Jan 2026 10:56:57 -0500 Subject: [PATCH] Improve Shared Location messaging This changes the icon for the shared locations page, adds better placeholder text and so on. --- src/roominfo/LocationsPage.qml | 5 ++++- src/roominfo/RoomInformation.qml | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/roominfo/LocationsPage.qml b/src/roominfo/LocationsPage.qml index 971fcb3a7..8bb4e64e0 100644 --- a/src/roominfo/LocationsPage.qml +++ b/src/roominfo/LocationsPage.qml @@ -66,7 +66,10 @@ Kirigami.Page { } Kirigami.PlaceholderMessage { - text: i18n("There are no locations shared in this room.") + icon.name: "mark-location-symbolic" + text: i18nc("@info:placeholder", "No shared locations") + explanation: i18nc("@info 'Send a Location' should share the same name as the chat bar button", "Share a location by using 'Send a Location' in the chat bar.") + visible: mapView.map.mapItems.length === 0 anchors.centerIn: parent } diff --git a/src/roominfo/RoomInformation.qml b/src/roominfo/RoomInformation.qml index 710c7f198..97de4f652 100644 --- a/src/roominfo/RoomInformation.qml +++ b/src/roominfo/RoomInformation.qml @@ -140,7 +140,7 @@ QQC2.ScrollView { Delegates.RoundedItemDelegate { id: locationsButton visible: !root.room.isSpace - icon.name: "map-flat" + icon.name: "mark-location-symbolic" text: i18nc("@action:button", "Shared Locations") activeFocusOnTab: true