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:
+1
-1
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user