delete unknown json objects + write missing objects to config file

This commit is contained in:
2026-08-16 12:17:50 +02:00
parent 02bb7e43d8
commit 4f544981c1
13 changed files with 132 additions and 48 deletions
+1 -4
View File
@@ -70,10 +70,7 @@ PageBase {
}
]
onSelected: item => {
Config.screenshot.mode = item.value;
Config.save();
}
onSelected: item => Config.screenshot.mode = item.value
}
SectionHeader {
-2
View File
@@ -104,7 +104,6 @@ PageBase {
onApplySettings: (start, end) => {
Config.general.color.scheduleDarkStart = start;
Config.general.color.scheduleDarkEnd = end;
Config.save();
ModeScheduler.checkStartup();
PopupManager.requestClose();
}
@@ -146,7 +145,6 @@ PageBase {
onApplySettings: (start, end) => {
Config.general.color.scheduleHyprsunsetStart = start;
Config.general.color.scheduleHyprsunsetEnd = end;
Config.save();
Hyprsunset.checkStartup();
PopupManager.requestClose();
}