For now always show contact picture in message view
@@ -17,7 +17,6 @@ import androidx.appcompat.widget.PopupMenu;
import androidx.appcompat.widget.PopupMenu.OnMenuItemClickListener;
import com.fsck.k9.Account;
import com.fsck.k9.DI;
-import com.fsck.k9.K9;
import com.fsck.k9.activity.misc.ContactPicture;
import com.fsck.k9.contacts.ContactPictureLoader;
import com.fsck.k9.helper.ClipboardManager;
@@ -117,9 +116,6 @@ public class MessageHeader extends LinearLayout implements OnClickListener, OnLo
fromAddress = fromAddresses[0];
}
- if (K9.isShowContactPicture()) {
- contactBadge.setVisibility(View.VISIBLE);
-
if (fromAddress != null) {
contactBadge.setContact(fromAddress);
@@ -128,9 +124,6 @@ public class MessageHeader extends LinearLayout implements OnClickListener, OnLo
} else {
contactBadge.setImageResource(R.drawable.ic_contact_picture);
}
- } else {
- contactBadge.setVisibility(View.GONE);
- }
CharSequence from = messageHelper.getSenderDisplayName(fromAddress);
fromView.setText(from);
