Fix crash when clicking group avatars.
parent
8f031f61ea
commit
f0d15c0bce
|
@ -143,7 +143,7 @@ public final class AvatarImageView extends AppCompatImageView {
|
||||||
} else {
|
} else {
|
||||||
getContext().startActivity(RecipientExporter.export(recipient).asAddContactIntent());
|
getContext().startActivity(RecipientExporter.export(recipient).asAddContactIntent());
|
||||||
}
|
}
|
||||||
} else {
|
} else if (listener != null) {
|
||||||
listener.onClick(v);
|
listener.onClick(v);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue