1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-24 08:38:51 -05:00

HTML tag cleanup

Effective with earlier commit e2c5229e85,
messages are wrapped with <html> tags at display time, rather than
when messages are saved.

For consistency, this commit removes tags from a status message, because
they, too, will be added back at display time.

Closes pull request 286.
This commit is contained in:
Joe Steele 2013-08-01 17:45:40 -04:00
parent 3d6a7b6409
commit fce39f0fce

View File

@ -624,9 +624,7 @@ public class SingleMessageView extends LinearLayout implements OnClickListener,
}
public void showStatusMessage(String status) {
String text = "<html><body><div style=\"text-align:center; color: grey;\">" +
status +
"</div></body></html>";
String text = "<div style=\"text-align:center; color: grey;\">" + status + "</div>";
loadBodyFromText(text);
mCryptoView.hide();
}