Add explanation

This commit is contained in:
Willy-JL
2024-09-06 18:29:47 +02:00
parent f438199c4a
commit 5901fa4844
3 changed files with 3 additions and 0 deletions

View File

@@ -441,6 +441,7 @@ void desktop_unlock(Desktop* desktop) {
}
int32_t desktop_shutdown(void* context) {
// Attempt to launch the app, and if failed offer to shutdown (simpler UI)
Desktop* desktop = context;
LoaderStatus result = loader_start(desktop->loader, "Power", "off", NULL);
if(result != LoaderStatusOk) {