Restore the show author functionality to bubble
This commit is contained in:
committed by
Tobias Fella
parent
add283c9fb
commit
070d579bc2
@@ -40,6 +40,11 @@ QQC2.Control {
|
||||
*/
|
||||
property var author
|
||||
|
||||
/**
|
||||
* @brief Whether the author should be shown.
|
||||
*/
|
||||
required property bool showAuthor
|
||||
|
||||
/**
|
||||
* @brief The timestamp of the message.
|
||||
*/
|
||||
@@ -133,6 +138,7 @@ QQC2.Control {
|
||||
contentItem: ColumnLayout {
|
||||
RowLayout {
|
||||
Layout.maximumWidth: root.maxContentWidth
|
||||
visible: root.showAuthor
|
||||
QQC2.Label {
|
||||
Layout.fillWidth: true
|
||||
text: root.author.displayName
|
||||
|
||||
Reference in New Issue
Block a user