mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-24 16:57:50 +00:00
Fix non-contact icon in recipient preferences being too small.
Relates to #8252
This commit is contained in:
parent
eb11d5ceda
commit
f26c6f890f
@ -426,7 +426,7 @@ public class Recipient implements RecipientModifiedListener {
|
|||||||
if (isResolving()) return new TransparentContactPhoto();
|
if (isResolving()) return new TransparentContactPhoto();
|
||||||
else if (isGroupRecipient()) return new ResourceContactPhoto(R.drawable.ic_group_white_24dp, R.drawable.ic_group_large);
|
else if (isGroupRecipient()) return new ResourceContactPhoto(R.drawable.ic_group_white_24dp, R.drawable.ic_group_large);
|
||||||
else if (!TextUtils.isEmpty(name)) return new GeneratedContactPhoto(name, R.drawable.ic_profile_default);
|
else if (!TextUtils.isEmpty(name)) return new GeneratedContactPhoto(name, R.drawable.ic_profile_default);
|
||||||
else return new ResourceContactPhoto(R.drawable.ic_profile_default);
|
else return new ResourceContactPhoto(R.drawable.ic_profile_default, R.drawable.ic_person_large);
|
||||||
}
|
}
|
||||||
|
|
||||||
public synchronized @Nullable ContactPhoto getContactPhoto() {
|
public synchronized @Nullable ContactPhoto getContactPhoto() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user