Commit e367eef3 authored by Grigory Fedorov's avatar Grigory Fedorov

Contact list accounts avatars hidden correctly due to settings.

parent 26fccfb7
......@@ -259,7 +259,12 @@ public abstract class GroupedContactAdapter extends BaseAdapter implements Updat
viewHolder.status.setText(statusText);
if (SettingsManager.contactsShowAvatars()) {
viewHolder.avatar.setVisibility(View.VISIBLE);
viewHolder.avatar.setImageDrawable(AvatarManager.getInstance().getAccountAvatar(account));
} else {
viewHolder.avatar.setVisibility(View.GONE);
}
viewHolder.avatar.setOnClickListener(new View.OnClickListener() {
@Override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment