Fixes FS#180: Conference notification icon missing

This commit is contained in:
lookshe 2016-04-01 16:10:12 +02:00
parent 51d1d2226a
commit 3f38eb3bf4

View file

@ -134,7 +134,12 @@ public class ConversationAdapter extends ArrayAdapter<Conversation> {
notificationStatus.setVisibility(View.VISIBLE);
notificationStatus.setImageResource(R.drawable.ic_notifications_paused_grey600_24dp);
} else if (conversation.alwaysNotify()) {
notificationStatus.setVisibility(View.GONE);
notificationStatus.setImageResource(R.drawable.ic_notifications_grey600_24dp);
if (conversation.getMode() == Conversation.MODE_SINGLE) {
notificationStatus.setVisibility(View.GONE);
} else {
notificationStatus.setVisibility(View.VISIBLE);
}
} else {
notificationStatus.setVisibility(View.VISIBLE);
notificationStatus.setImageResource(R.drawable.ic_notifications_none_grey600_24dp);