mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-20 09:43:03 +00:00
Add "Delete All Chats" to all chat views
This commit is contained in:
@@ -437,14 +437,13 @@ void menuHandler::messageResponseMenu()
|
|||||||
optionsEnumArray[options++] = ViewMode;
|
optionsEnumArray[options++] = ViewMode;
|
||||||
|
|
||||||
// Only show Dismiss All in View All mode
|
// Only show Dismiss All in View All mode
|
||||||
if (mode == graphics::MessageRenderer::ThreadMode::ALL) {
|
|
||||||
#if defined(M5STACK_UNITC6L)
|
#if defined(M5STACK_UNITC6L)
|
||||||
optionsArray[options] = "Delete All";
|
optionsArray[options] = "Delete All";
|
||||||
#else
|
#else
|
||||||
optionsArray[options] = "Delete All Chats";
|
optionsArray[options] = "Delete All Chats";
|
||||||
#endif
|
#endif
|
||||||
optionsEnumArray[options++] = DismissAll;
|
optionsEnumArray[options++] = DismissAll;
|
||||||
}
|
|
||||||
if (isHighResolution) {
|
if (isHighResolution) {
|
||||||
optionsArray[options] = "Delete Oldest Message";
|
optionsArray[options] = "Delete Oldest Message";
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user