From 668732f0188d9f98ac63bae368d4ecbff4cf571c Mon Sep 17 00:00:00 2001 From: Frederick Yin Date: Wed, 26 Jul 2023 15:34:07 +0800 Subject: Fetch and display announcement message --- contents/ui/ActivityView.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'contents/ui/ActivityView.qml') 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 } } } -- cgit v1.2.3