summaryrefslogtreecommitdiff
path: root/modules/controlcenter/taskbar
diff options
context:
space:
mode:
authorATMDA <atdma2600@gmail.com>2025-11-13 14:41:14 -0500
committerATMDA <atdma2600@gmail.com>2025-11-13 14:41:14 -0500
commit1da9c68be8f336a671f9514cf5feaaf5998da981 (patch)
tree411bc8f03ff86a2b1fadb800708e4a63982cfe5d /modules/controlcenter/taskbar
parentcleanup: trailing whitespace (diff)
downloadcaelestia-shell-1da9c68be8f336a671f9514cf5feaaf5998da981.tar.gz
caelestia-shell-1da9c68be8f336a671f9514cf5feaaf5998da981.tar.bz2
caelestia-shell-1da9c68be8f336a671f9514cf5feaaf5998da981.zip
cleanup: trailing whitespace removeal (entire project)
Diffstat (limited to 'modules/controlcenter/taskbar')
-rw-r--r--modules/controlcenter/taskbar/TaskbarPane.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/controlcenter/taskbar/TaskbarPane.qml b/modules/controlcenter/taskbar/TaskbarPane.qml
index 2bb50d8..cf52fd3 100644
--- a/modules/controlcenter/taskbar/TaskbarPane.qml
+++ b/modules/controlcenter/taskbar/TaskbarPane.qml
@@ -120,13 +120,13 @@ RowLayout {
if (!configFile.loaded) {
return;
}
-
+
try {
const config = JSON.parse(configFile.text());
-
+
// Ensure bar object exists
if (!config.bar) config.bar = {};
-
+
// Update clock setting
if (!config.bar.clock) config.bar.clock = {};
config.bar.clock.showIcon = clockShowIconSwitch.checked;
@@ -163,7 +163,7 @@ RowLayout {
// Update entries from the model (same approach as clock - use provided value if available)
if (!config.bar.entries) config.bar.entries = [];
config.bar.entries = [];
-
+
for (let i = 0; i < entriesModel.count; i++) {
const entry = entriesModel.get(i);
// If this is the entry being updated, use the provided value (same as clock toggle reads from switch)