mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-24 02:12:15 -05:00
Cosmetic changes
This commit is contained in:
parent
41378188f9
commit
d354905f21
@ -943,7 +943,8 @@ public class MessageView extends K9Activity implements OnClickListener {
|
||||
@Override
|
||||
protected Dialog onCreateDialog(final int id) {
|
||||
switch (id) {
|
||||
case R.id.dialog_confirm_delete: return createConfirmDeleteDialog(id);
|
||||
case R.id.dialog_confirm_delete:
|
||||
return createConfirmDeleteDialog(id);
|
||||
case R.id.dialog_attachment_progress:
|
||||
ProgressDialog d = new ProgressDialog(this);
|
||||
d.setIndeterminate(true);
|
||||
@ -1084,7 +1085,6 @@ public class MessageView extends K9Activity implements OnClickListener {
|
||||
return;
|
||||
}
|
||||
mHandler.post(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
mMessageView.setAttachmentsEnabled(false);
|
||||
showDialog(R.id.dialog_attachment_progress);
|
||||
@ -1112,7 +1112,6 @@ public class MessageView extends K9Activity implements OnClickListener {
|
||||
} else {
|
||||
attachment.showFile();
|
||||
}
|
||||
|
||||
}
|
||||
});
|
||||
}
|
||||
@ -1127,7 +1126,6 @@ public class MessageView extends K9Activity implements OnClickListener {
|
||||
mMessageView.setAttachmentsEnabled(true);
|
||||
removeDialog(R.id.dialog_attachment_progress);
|
||||
mHandler.networkError();
|
||||
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user