From dc3f2056920b74210b9056a23c333b73346a0d3e Mon Sep 17 00:00:00 2001 From: Frederick Yin Date: Wed, 26 Jul 2023 14:27:38 +0800 Subject: Break long lines --- contents/ui/ActivityView.qml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/contents/ui/ActivityView.qml b/contents/ui/ActivityView.qml index e48b2a5..0e74a99 100644 --- a/contents/ui/ActivityView.qml +++ b/contents/ui/ActivityView.qml @@ -40,7 +40,9 @@ PlasmaComponents.ListItem { } } else { // remove activityId from list - finishedActivities.splice(finishedActivities.indexOf(activityId), 1) + finishedActivities.splice( + finishedActivities.indexOf(activityId), 1 + ) } // save config plasmoid.configuration[configKeys[type]] = finishedActivities @@ -116,7 +118,9 @@ PlasmaComponents.ListItem { } } else { // remove activityId from list - importantActivities.splice(importantActivities.indexOf(activityId), 1) + importantActivities.splice( + importantActivities.indexOf(activityId), 1 + ) } // save config plasmoid.configuration[configKeys[type]] = importantActivities -- cgit v1.2.3