Fix metadata loading issues with Initialization and refactor Factory Reset. (#19)

Reviewed-on: https://git.pinkduck.xyz/awonak/libGravity/pulls/19
This commit is contained in:
2025-07-23 03:32:16 +00:00
parent c5bddef66d
commit ec34bc3a7b
4 changed files with 37 additions and 33 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);
}
}