diff options
Diffstat (limited to 'contents/ui/ActivityView.qml')
-rw-r--r-- | contents/ui/ActivityView.qml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/contents/ui/ActivityView.qml b/contents/ui/ActivityView.qml index 9b547c5..82b3458 100644 --- a/contents/ui/ActivityView.qml +++ b/contents/ui/ActivityView.qml @@ -49,7 +49,9 @@ RowLayout { text: `[${course}] ${title}` font.bold: important font.strikeout: finished - color: important ? PlasmaCore.Theme.negativeTextColor : PlasmaCore.Theme.textColor + color: important + ? PlasmaCore.Theme.negativeTextColor + : PlasmaCore.Theme.textColor wrapMode: Text.WordWrap Layout.fillWidth: true } @@ -91,7 +93,9 @@ RowLayout { onClicked: () => { important = !important activityLabel.font.bold = important - activityLabel.color = important ? PlasmaCore.Theme.negativeTextColor : PlasmaCore.Theme.textColor + activityLabel.color = important + ? PlasmaCore.Theme.negativeTextColor + : PlasmaCore.Theme.textColor const configKeys = { announcement: "importantAnnouncements", |