diff options
author | Christian Schneppe <christian@pix-art.de> | 2018-02-04 21:39:05 +0100 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2018-02-04 21:39:05 +0100 |
commit | 7a70a6aefcd4cc518c6e46aacf49c8e4955552b2 (patch) | |
tree | 8734fea9e58a0539b5d58212fea4bc6649ef472c | |
parent | d47ca73deca373abc15f13482fc0bf12becd35d7 (diff) |
show the correct icon for shared xmpp addresses
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/adapter/MessageAdapter.java | 1 |
1 files changed, 1 insertions, 0 deletions
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<Message> 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 |