feat: automatic restart after restoring settings

This commit is contained in:
Yurii
2024-01-13 13:02:12 +03:00
parent f22c64e30c
commit 1ad1f26d4f

View File

@@ -226,6 +226,7 @@ protected:
bool changed = false;
if (doc["settings"] && jsonToSettings(doc["settings"], settings)) {
vars.actions.restart = true;
fsSettings.update();
changed = true;
}