Added "Saving Changes" screen when reboot is needed

This commit is contained in:
HarukiToreda
2025-12-17 12:38:04 -05:00
parent 66d9c430d8
commit ef36a5a24d
8 changed files with 45 additions and 1 deletions

View File

@@ -121,6 +121,15 @@ int InkHUD::Events::beforeDeepSleep(void *unused)
return 0; // We agree: deep sleep now
}
// Display an intermediate screen while configuration changes are applied
void InkHUD::Events::applyingChanges()
{
// Bring the logo applet forward with a temporary message
for (SystemApplet *sa : inkhud->systemApplets) {
sa->onApplyingChanges();
}
}
// Callback for rebootObserver
// Same as shutdown, without drawing the logoApplet
// Makes sure we don't lose message history / InkHUD config