summaryrefslogtreecommitdiff
path: root/contents/ui/ActivityView.qml
diff options
context:
space:
mode:
authorFrederick Yin <fkfd@fkfd.me>2023-07-26 15:34:07 +0800
committerFrederick Yin <fkfd@fkfd.me>2023-07-26 15:34:07 +0800
commit668732f0188d9f98ac63bae368d4ecbff4cf571c (patch)
treea8552e58524f65fdfd2c2d731e26a90a0fc8dfe8 /contents/ui/ActivityView.qml
parentd1486dfb2e7f46940ac544276877ce21c7eef6dc (diff)
Fetch and display announcement message
Diffstat (limited to 'contents/ui/ActivityView.qml')
-rw-r--r--contents/ui/ActivityView.qml4
1 files changed, 3 insertions, 1 deletions
diff --git a/contents/ui/ActivityView.qml b/contents/ui/ActivityView.qml
index 3f82325..38b92f1 100644
--- a/contents/ui/ActivityView.qml
+++ b/contents/ui/ActivityView.qml
@@ -86,6 +86,7 @@ PlasmaComponents.ListItem {
PlasmaComponents3.ToolButton {
icon.name: "expand"
+ visible: type == "announcement"
// only show when mouse is hovering above this activity
opacity: activityItem.containsMouse ? 1 : 0
onClicked: () => {
@@ -137,8 +138,9 @@ PlasmaComponents.ListItem {
}
PlasmaExtras.Paragraph {
+ Layout.fillWidth: true
visible: expanded
- text: "Hello world!"
+ text: message
}
}
}