1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-04 16:45:09 -05:00

Add progress indicator during account move.

This commit is contained in:
danapple 2011-03-27 12:33:07 -05:00
parent 2867a90286
commit 7d5bb99dbd

View File

@ -656,6 +656,7 @@ public class Accounts extends K9ListActivity implements OnItemClickListener, OnC
showDialog(DIALOG_RECREATE_ACCOUNT);
}
private void onMove(final Account account, final boolean up) {
mHandler.progress(true);
AsyncUIProcessor.getInstance(getApplication()).execute(
new Runnable()
{
@ -666,6 +667,7 @@ public class Accounts extends K9ListActivity implements OnItemClickListener, OnC
@Override
public void run() {
refresh();
mHandler.progress(false);
}
});
}