mirror of
https://github.com/moparisthebest/k-9
synced 2025-01-11 21:58:35 -05:00
Fix dialog message when deleting multiple messages from a notification
This commit is contained in:
parent
3379fdb573
commit
fdfaf03b7a
@ -88,8 +88,9 @@ public class NotificationDeleteConfirmation extends Activity {
|
|||||||
AlertDialog alert = (AlertDialog) d;
|
AlertDialog alert = (AlertDialog) d;
|
||||||
switch (id) {
|
switch (id) {
|
||||||
case DIALOG_CONFIRM:
|
case DIALOG_CONFIRM:
|
||||||
|
int messageCount = mMessageRefs.size();
|
||||||
alert.setMessage(getResources().getQuantityString(
|
alert.setMessage(getResources().getQuantityString(
|
||||||
R.plurals.dialog_confirm_delete_message, mMessageRefs.size()));
|
R.plurals.dialog_confirm_delete_message, messageCount, messageCount));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user