diff options
author | andy <andy@strb.org> | 2014-04-11 22:30:50 +0200 |
---|---|---|
committer | andy <andy@strb.org> | 2014-04-12 03:46:43 +0200 |
commit | 3d6f03e859cfc4727c68bfda424b58228f4ffa61 (patch) | |
tree | 5d3d382de44afb7e3ecfbd148f450d22ace87458 /src/eu/siacs/conversations/ui/ContactDetailsActivity.java | |
parent | 259bb446cac55ea7367488dfd63eb2b8a3eb6139 (diff) |
Refactor UIHelper to use getContactPicture
Normalize the interface, reduce code duplication
Diffstat (limited to '')
-rw-r--r-- | src/eu/siacs/conversations/ui/ContactDetailsActivity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eu/siacs/conversations/ui/ContactDetailsActivity.java b/src/eu/siacs/conversations/ui/ContactDetailsActivity.java index 5dc6eb3b..86535ba1 100644 --- a/src/eu/siacs/conversations/ui/ContactDetailsActivity.java +++ b/src/eu/siacs/conversations/ui/ContactDetailsActivity.java @@ -230,7 +230,7 @@ public class ContactDetailsActivity extends XmppActivity { contactJid.setText(contact.getJid()); accountJid.setText(contact.getAccount().getJid()); - UIHelper.prepareContactBadge(this, badge, contact); + UIHelper.prepareContactBadge(this, badge, contact, getApplicationContext()); if (contact.getSystemAccount() == null) { badge.setOnClickListener(onBadgeClick); |