mirror of
https://github.com/pelgraine/Meck.git
synced 2026-07-07 02:01:19 +02:00
tdpro - channel message history delete function - long press on screen to bring up menu
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user