From 5a3e12b39cd5b842d9f9788b17558b6c9c4c0336 Mon Sep 17 00:00:00 2001 From: Frederick Yin Date: Mon, 24 Jul 2023 18:24:36 +0800 Subject: Remove semicolons I wrote too much C++ in the past few months --- contents/ui/main.qml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/contents/ui/main.qml b/contents/ui/main.qml index f3af512..b49996d 100644 --- a/contents/ui/main.qml +++ b/contents/ui/main.qml @@ -100,8 +100,8 @@ Item { } // figure out where we insert it into list - let idx = 0; - let endIdx = 0; // actually past the end + let idx = 0 + let endIdx = 0 // actually past the end if (info.important) { idx = announcementIndices.important endIdx = announcementIndices.normal @@ -148,8 +148,8 @@ Item { finished: plasmoid.configuration.finishedAssignments.includes(assignment.id.toString()), } - let idx = 0; - let endIdx = 0; + let idx = 0 + let endIdx = 0 if (info.important) { idx = assignmentIndices.important endIdx = assignmentIndices.normal -- cgit v1.2.3