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:
parent
2867a90286
commit
7d5bb99dbd
@ -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);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user