From 7a70a6aefcd4cc518c6e46aacf49c8e4955552b2 Mon Sep 17 00:00:00 2001 From: Christian Schneppe Date: Sun, 4 Feb 2018 21:39:05 +0100 Subject: show the correct icon for shared xmpp addresses --- src/main/java/de/pixart/messenger/ui/adapter/MessageAdapter.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/main/java/de/pixart/messenger/ui/adapter/MessageAdapter.java b/src/main/java/de/pixart/messenger/ui/adapter/MessageAdapter.java index 561bc8013..ca6b02284 100644 --- a/src/main/java/de/pixart/messenger/ui/adapter/MessageAdapter.java +++ b/src/main/java/de/pixart/messenger/ui/adapter/MessageAdapter.java @@ -396,6 +396,7 @@ public class MessageAdapter extends ArrayAdapter implements CopyTextVie viewHolder.audioPlayer.setVisibility(View.GONE); viewHolder.download_button.setVisibility(View.VISIBLE); viewHolder.download_button.setText(add_contact); + viewHolder.download_button.setCompoundDrawablesWithIntrinsicBounds(R.drawable.ic_account_card_details_grey600_48dp, 0, 0, 0); viewHolder.download_button.setOnClickListener(new OnClickListener() { @Override -- cgit v1.2.3