mirror of
https://github.com/oxen-io/session-android.git
synced 2025-02-25 20:17:21 +00:00
Delete Selected Message button strings "No"/"Yes" -> "Cancel"/"Delete"
Closes #4705 Fixes #4704 // FREEBIE
This commit is contained in:
parent
ec58132b25
commit
a8f4dadaf5
@ -263,7 +263,7 @@ public class ConversationFragment extends Fragment
|
|||||||
builder.setMessage(getActivity().getResources().getQuantityString(R.plurals.ConversationFragment_this_will_permanently_delete_all_n_selected_messages, messagesCount, messagesCount));
|
builder.setMessage(getActivity().getResources().getQuantityString(R.plurals.ConversationFragment_this_will_permanently_delete_all_n_selected_messages, messagesCount, messagesCount));
|
||||||
builder.setCancelable(true);
|
builder.setCancelable(true);
|
||||||
|
|
||||||
builder.setPositiveButton(R.string.yes, new DialogInterface.OnClickListener() {
|
builder.setPositiveButton(R.string.delete, new DialogInterface.OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(DialogInterface dialog, int which) {
|
public void onClick(DialogInterface dialog, int which) {
|
||||||
new ProgressDialogAsyncTask<MessageRecord, Void, Void>(getActivity(),
|
new ProgressDialogAsyncTask<MessageRecord, Void, Void>(getActivity(),
|
||||||
@ -293,7 +293,7 @@ public class ConversationFragment extends Fragment
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
builder.setNegativeButton(R.string.no, null);
|
builder.setNegativeButton(android.R.string.cancel, null);
|
||||||
builder.show();
|
builder.show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user