From 8ce2386cc9c0f68841b0466c303bf4a9ac51710b Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Wed, 21 May 2025 16:30:52 -0400 Subject: [PATCH] Restore the text in location component --- src/timeline/LocationComponent.qml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/timeline/LocationComponent.qml b/src/timeline/LocationComponent.qml index e0bbe779f..bdf854a7f 100644 --- a/src/timeline/LocationComponent.qml +++ b/src/timeline/LocationComponent.qml @@ -17,6 +17,11 @@ import org.kde.kirigami as Kirigami ColumnLayout { id: root + /** + * @brief The matrix ID of the message event. + */ + required property string eventId + /** * @brief The message author. * @@ -104,7 +109,7 @@ ColumnLayout { Button { icon.name: "view-fullscreen" - text: i18nc("@action:button", "Fullscreen") + text: i18nc("@action:button", "Open Fullscreen") display: AbstractButton.IconOnly onClicked: { @@ -127,4 +132,11 @@ ColumnLayout { id: fullScreenMap FullScreenMap {} } + + TextComponent { + eventId: root.eventId + author: root.author + display: root.display + visible: root.display !== "" + } }