TalkBalk: always move-to

This commit is contained in:
M66B 2024-04-24 12:55:33 +02:00
parent 1bb28fc4e4
commit 0ebfbc584c
1 changed files with 4 additions and 3 deletions

View File

@ -7827,9 +7827,8 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
info.addAction(new AccessibilityNodeInfo.AccessibilityAction(R.id.ibDelete,
context.getString(R.string.title_trash_selection)));
if (ibMove.getVisibility() == View.VISIBLE && ibMove.isEnabled())
info.addAction(new AccessibilityNodeInfo.AccessibilityAction(R.id.ibMove,
context.getString(R.string.title_move_to)));
info.addAction(new AccessibilityNodeInfo.AccessibilityAction(R.id.ibMove,
context.getString(R.string.title_move_to)));
if (ibAvatar.getVisibility() == View.VISIBLE && ibAvatar.isEnabled())
info.addAction(new AccessibilityNodeInfo.AccessibilityAction(R.id.ibAvatar,
@ -7885,6 +7884,8 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
} else if (action == R.id.ibDelete) {
properties.moveSelection(EntityFolder.TRASH, false);
return true;
} else if (action == R.id.ibMove) {
onActionMove(message, false);
} else if (action == R.id.ibAvatar) {
onViewContact(message);
return true;