fix(color): popup warning may block UI and key input (#6648)

This commit is contained in:
philmoz
2025-10-14 21:09:07 +10:00
committed by GitHub
parent dbffe1b193
commit d66cf1fc0d
6 changed files with 19 additions and 26 deletions
+2 -2
View File
@@ -249,7 +249,7 @@ void logsWrite()
if (result) {
if (result != error_displayed) {
error_displayed = result;
POPUP_WARNING_ON_UI_TASK(result, nullptr, false);
POPUP_WARNING_ON_UI_TASK(result, nullptr);
}
return;
}
@@ -354,7 +354,7 @@ void logsWrite()
if (result<0 && !error_displayed) {
error_displayed = STR_SDCARD_ERROR;
POPUP_WARNING_ON_UI_TASK(STR_SDCARD_ERROR, nullptr, false);
POPUP_WARNING_ON_UI_TASK(STR_SDCARD_ERROR, nullptr);
logsClose();
}
}