1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-24 02:12:15 -05:00

Cosmetic changes

This commit is contained in:
cketti 2011-02-20 19:18:17 +01:00
parent 41378188f9
commit d354905f21

View File

@ -943,7 +943,8 @@ public class MessageView extends K9Activity implements OnClickListener {
@Override @Override
protected Dialog onCreateDialog(final int id) { protected Dialog onCreateDialog(final int id) {
switch (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: case R.id.dialog_attachment_progress:
ProgressDialog d = new ProgressDialog(this); ProgressDialog d = new ProgressDialog(this);
d.setIndeterminate(true); d.setIndeterminate(true);
@ -1084,7 +1085,6 @@ public class MessageView extends K9Activity implements OnClickListener {
return; return;
} }
mHandler.post(new Runnable() { mHandler.post(new Runnable() {
@Override
public void run() { public void run() {
mMessageView.setAttachmentsEnabled(false); mMessageView.setAttachmentsEnabled(false);
showDialog(R.id.dialog_attachment_progress); showDialog(R.id.dialog_attachment_progress);
@ -1112,7 +1112,6 @@ public class MessageView extends K9Activity implements OnClickListener {
} else { } else {
attachment.showFile(); attachment.showFile();
} }
} }
}); });
} }
@ -1127,7 +1126,6 @@ public class MessageView extends K9Activity implements OnClickListener {
mMessageView.setAttachmentsEnabled(true); mMessageView.setAttachmentsEnabled(true);
removeDialog(R.id.dialog_attachment_progress); removeDialog(R.id.dialog_attachment_progress);
mHandler.networkError(); mHandler.networkError();
} }
}); });
} }