feat(color): Show 'Press any key to skip' message on alerts that have no message (#3433)

* Show the 'Press any key to skip' message on alerts that currently have no message.

* Show action button on storage format warning also

---------

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
This commit is contained in:
philmoz
2023-04-09 20:56:28 +10:00
committed by GitHub
co-authored by Peter Feerick
parent 26f166011c
commit 6138f29da6
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -438,7 +438,7 @@ inline void RAISE_ALERT(const char *title, const char *msg, const char *info,
}
inline void ALERT(const char *title, const char *msg, uint8_t sound)
{
raiseAlert(title, msg, "", sound);
raiseAlert(title, msg, STR_PRESS_ANY_KEY_TO_SKIP, sound);
}
#else // !COLORLCD && GUI
+1 -1
View File
@@ -53,7 +53,7 @@ void storageEraseAll(bool warn)
ALERT(STR_STORAGE_WARNING, STR_BAD_RADIO_DATA, AU_BAD_RADIODATA);
}
RAISE_ALERT(STR_STORAGE_WARNING, STR_STORAGE_FORMAT, NULL, AU_NONE);
RAISE_ALERT(STR_STORAGE_WARNING, STR_STORAGE_FORMAT, STR_PRESS_ANY_KEY_TO_SKIP, AU_NONE);
storageFormat();
storageDirty(EE_GENERAL);