setting backround color if image comes directly from cache

This commit is contained in:
Daniel Gultsch 2014-04-25 23:09:15 +02:00
parent 645139eb68
commit 6942840061
1 changed files with 1 additions and 0 deletions

View File

@ -684,6 +684,7 @@ public class ConversationActivity extends XmppActivity {
} }
if (bm!=null) { if (bm!=null) {
imageView.setImageBitmap(bm); imageView.setImageBitmap(bm);
imageView.setBackgroundColor(0x00000000);
} else { } else {
if (cancelPotentialWork(message, imageView)) { if (cancelPotentialWork(message, imageView)) {
imageView.setBackgroundColor(0xff333333); imageView.setBackgroundColor(0xff333333);