From 5fdb94ddfed87d3c51e2e3e2c2433ad47b5e0d85 Mon Sep 17 00:00:00 2001 From: Frederick Yin Date: Tue, 25 Jul 2023 16:16:43 +0800 Subject: Break long lines --- contents/ui/ActivityView.qml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'contents/ui/ActivityView.qml') 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", -- cgit v1.2.3