tdpro - channel message history delete function - long press on screen to bring up menu

This commit is contained in:
pelgraine
2026-05-12 04:50:32 +10:00
parent 18b9ab6c4d
commit ceb29ba662
3 changed files with 169 additions and 21 deletions
+5
View File
@@ -1751,6 +1751,11 @@ static void lastHeardToggleContact() {
return KEY_ENTER; // Not editing: toggle/edit selected row
}
// Channel picker: long press = delete message history for highlighted channel
if (ui_task.isOnChannelPickerScreen()) {
return 'x';
}
// Default: enter/select
return KEY_ENTER;
}