Improve Shared Location messaging

This changes the icon for the shared locations page, adds better
placeholder text and so on.
This commit is contained in:
Joshua Goins
2026-01-17 10:56:57 -05:00
parent 6eb2b2e739
commit 0b5de13c36
2 changed files with 5 additions and 2 deletions

View File

@@ -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
}

View File

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