mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-25 09:17:44 +00:00
Use high-res callcard for TransparentContactPhoto
Closes #5228 // FREEBIE
This commit is contained in:
parent
ec922704f4
commit
4168092f5d
@ -2,6 +2,7 @@ package org.thoughtcrime.securesms.contacts.avatars;
|
||||
|
||||
import android.content.Context;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.support.v4.content.ContextCompat;
|
||||
|
||||
import com.makeramen.roundedimageview.RoundedDrawable;
|
||||
|
||||
@ -23,6 +24,6 @@ public class TransparentContactPhoto implements ContactPhoto {
|
||||
|
||||
@Override
|
||||
public Drawable asCallCard(Context context) {
|
||||
return context.getResources().getDrawable(R.drawable.ic_contact_picture);
|
||||
return ContextCompat.getDrawable(context, R.drawable.ic_contact_picture_large);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user