mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-27 11:42:16 -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);
|
showDialog(DIALOG_RECREATE_ACCOUNT);
|
||||||
}
|
}
|
||||||
private void onMove(final Account account, final boolean up) {
|
private void onMove(final Account account, final boolean up) {
|
||||||
|
mHandler.progress(true);
|
||||||
AsyncUIProcessor.getInstance(getApplication()).execute(
|
AsyncUIProcessor.getInstance(getApplication()).execute(
|
||||||
new Runnable()
|
new Runnable()
|
||||||
{
|
{
|
||||||
@ -666,6 +667,7 @@ public class Accounts extends K9ListActivity implements OnItemClickListener, OnC
|
|||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
refresh();
|
refresh();
|
||||||
|
mHandler.progress(false);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user