1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-24 02:12:15 -05:00

Fixes Issue 573

Patch from mpredosin, supplied in Issue 573 on Aug 05, 2009.
This commit is contained in:
Daniel Applebaum 2009-10-25 13:58:08 +00:00
parent f43b13446e
commit ffe930442f

View File

@ -406,6 +406,19 @@ public class Accounts extends K9ListActivity implements OnItemClickListener, OnC
}
return super.onCreateDialog(id);
}
public void onPrepareDialog(int id, Dialog d) {
switch (id) {
case DIALOG_REMOVE_ACCOUNT:
AlertDialog alert = (AlertDialog) d;
alert.setMessage(getString(R.string.account_delete_dlg_instructions_fmt,
mSelectedContextAccount.getDescription()));
break;
}
super.onPrepareDialog(id, d);
}
private Dialog createRemoveAccountDialog() {
return new AlertDialog.Builder(this)