Show a placeholder message if there are no shared locations

This commit is contained in:
Volker Krause
2023-06-18 11:38:27 +02:00
parent 64a1316f9b
commit 53719b971d

View File

@@ -46,5 +46,11 @@ Kirigami.Page {
}
delegate: LocationMapItem {}
}
Kirigami.PlaceholderMessage {
text: i18n("There are no locations shared in this room.")
visible: map.mapItems.length === 0
anchors.centerIn: parent
}
}
}