delete unknown json objects + write missing objects to config file
This commit is contained in:
@@ -70,10 +70,7 @@ PageBase {
|
||||
}
|
||||
]
|
||||
|
||||
onSelected: item => {
|
||||
Config.screenshot.mode = item.value;
|
||||
Config.save();
|
||||
}
|
||||
onSelected: item => Config.screenshot.mode = item.value
|
||||
}
|
||||
|
||||
SectionHeader {
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user