1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-26 01:28:50 -05:00

Fix code so accounts are exported when exporting everything

This commit is contained in:
cketti 2011-03-29 06:59:02 +02:00
parent 0ac406d3cd
commit 81931967a9

View File

@ -1120,8 +1120,9 @@ public class Accounts extends K9ListActivity implements OnItemClickListener, OnC
public void onExport(final boolean includeGlobals, final Account account) { public void onExport(final boolean includeGlobals, final Account account) {
// TODO, prompt to allow a user to choose which accounts to export // TODO, prompt to allow a user to choose which accounts to export
final Set<String> accountUuids = new HashSet<String>(); Set<String> accountUuids = null;
if (account != null) { if (account != null) {
accountUuids = new HashSet<String>();
accountUuids.add(account.getUuid()); accountUuids.add(account.getUuid());
} }