Adjust badge positioning.

This commit is contained in:
Alex Hart
2021-11-10 10:55:49 -04:00
parent 5bcb7cece4
commit 19a95f479e
8 changed files with 45 additions and 25 deletions

View File

@@ -152,7 +152,11 @@ public final class RecipientBottomSheetDialogFragment extends BottomSheetDialogF
}
});
avatar.setAvatar(recipient);
badgeImageView.setBadgeFromRecipient(recipient);
if (!recipient.isSelf()) {
badgeImageView.setBadgeFromRecipient(recipient);
}
if (recipient.isSelf()) {
avatar.setOnClickListener(v -> {
dismiss();