Restore the text in location component
This commit is contained in:
@@ -17,6 +17,11 @@ import org.kde.kirigami as Kirigami
|
|||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief The matrix ID of the message event.
|
||||||
|
*/
|
||||||
|
required property string eventId
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief The message author.
|
* @brief The message author.
|
||||||
*
|
*
|
||||||
@@ -104,7 +109,7 @@ ColumnLayout {
|
|||||||
|
|
||||||
Button {
|
Button {
|
||||||
icon.name: "view-fullscreen"
|
icon.name: "view-fullscreen"
|
||||||
text: i18nc("@action:button", "Fullscreen")
|
text: i18nc("@action:button", "Open Fullscreen")
|
||||||
display: AbstractButton.IconOnly
|
display: AbstractButton.IconOnly
|
||||||
|
|
||||||
onClicked: {
|
onClicked: {
|
||||||
@@ -127,4 +132,11 @@ ColumnLayout {
|
|||||||
id: fullScreenMap
|
id: fullScreenMap
|
||||||
FullScreenMap {}
|
FullScreenMap {}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TextComponent {
|
||||||
|
eventId: root.eventId
|
||||||
|
author: root.author
|
||||||
|
display: root.display
|
||||||
|
visible: root.display !== ""
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user