diff options
author | Frederick Yin <fkfd@fkfd.me> | 2023-07-26 15:34:07 +0800 |
---|---|---|
committer | Frederick Yin <fkfd@fkfd.me> | 2023-07-26 15:34:07 +0800 |
commit | 668732f0188d9f98ac63bae368d4ecbff4cf571c (patch) | |
tree | a8552e58524f65fdfd2c2d731e26a90a0fc8dfe8 /contents/ui/ActivityView.qml | |
parent | d1486dfb2e7f46940ac544276877ce21c7eef6dc (diff) |
Fetch and display announcement message
Diffstat (limited to 'contents/ui/ActivityView.qml')
-rw-r--r-- | contents/ui/ActivityView.qml | 4 |
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 } } } |