mirror of https://github.com/M66B/FairEmail.git
Report spam from
This commit is contained in:
parent
4596f7c51a
commit
811fbfc9b4
|
@ -1555,8 +1555,9 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|||
}
|
||||
|
||||
private void onMenuJunk(final ActionData data) {
|
||||
String who = MessageHelper.formatAddresses(data.message.from);
|
||||
new DialogBuilderLifecycle(context, owner)
|
||||
.setMessage(context.getResources().getQuantityString(R.plurals.title_ask_spam, 1, 1))
|
||||
.setMessage(context.getString(R.string.title_ask_spam_who, who))
|
||||
.setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(DialogInterface dialog, int which) {
|
||||
|
|
|
@ -57,6 +57,7 @@
|
|||
<item quantity="one">Report %1$d message as spam?</item>
|
||||
<item quantity="other">Report %1$d messages as spam?</item>
|
||||
</plurals>
|
||||
<string name="title_ask_spam_who">Report message from %1$s as spam?</string>
|
||||
|
||||
<string name="title_notification_failed">\'%1$s\' failed</string>
|
||||
|
||||
|
|
Loading…
Reference in New Issue