fix factory reset and load state metadata.

This commit is contained in:
2025-07-22 20:29:02 -07:00
parent ba1a47bfc7
commit 527889c1c2
3 changed files with 34 additions and 30 deletions

View File

@ -222,10 +222,9 @@ void HandleEncoderPressed() {
}
}
if (app.selected_param == PARAM_MAIN_FACTORY_RESET) {
if (app.selected_sub_param == 0) { // Reset
if (app.selected_sub_param == 0) { // Erase
Bootsplash();
stateManager.factoryReset();
stateManager.reset(app);
stateManager.factoryReset(app);
InitGravity(app);
}
}