diff options
author | Frederick Yin <fkfd@fkfd.me> | 2023-07-25 16:16:43 +0800 |
---|---|---|
committer | Frederick Yin <fkfd@fkfd.me> | 2023-07-25 16:16:43 +0800 |
commit | 5fdb94ddfed87d3c51e2e3e2c2433ad47b5e0d85 (patch) | |
tree | 522ed36aed46725a45ada5f672995549f0a6aa89 /contents/ui/ActivityView.qml | |
parent | 681f3ad2cd1163dbd049b4e917c4631541d3bb89 (diff) |
Break long lines
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", |