Understand remark

This commit is contained in:
M66B 2021-05-15 17:00:16 +02:00
parent 848370b0ca
commit ae7aa4ee52
1 changed files with 4 additions and 2 deletions

View File

@ -3352,8 +3352,10 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
Bundle aargs = new Bundle(); Bundle aargs = new Bundle();
aargs.putString("question", getResources() aargs.putString("question", getResources()
.getQuantityString(R.plurals.title_deleting_messages, ids.size(), ids.size())); .getQuantityString(R.plurals.title_deleting_messages, ids.size(), ids.size()));
if (!pop && !EntityFolder.TRASH.equals(type) && !EntityFolder.JUNK.equals(type)) boolean remark = (pop ||
aargs.putString("confirm", getString(R.string.title_no_undo)); EntityFolder.TRASH.equals(type) ||
EntityFolder.JUNK.equals(type));
aargs.putString(remark ? "remark" : "confirm", getString(R.string.title_no_undo));
aargs.putInt("faq", 160); aargs.putInt("faq", 160);
aargs.putLongArray("ids", Helper.toLongArray(ids)); aargs.putLongArray("ids", Helper.toLongArray(ids));
aargs.putBoolean("warning", true); aargs.putBoolean("warning", true);