mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-24 19:00:26 +01:00
Implement several pieces of UI polish for badges.
This commit is contained in:
committed by
Greyson Parrelli
parent
186bd9db48
commit
755ec672c0
@@ -121,7 +121,11 @@ public class ContactSelectionListItem extends ConstraintLayout implements Recipi
|
||||
|
||||
this.checkBox.setVisibility(checkboxVisible ? View.VISIBLE : View.GONE);
|
||||
|
||||
badge.setBadgeFromRecipient(recipientSnapshot);
|
||||
if (recipientSnapshot == null || recipientSnapshot.isSelf()) {
|
||||
badge.setBadge(null);
|
||||
} else {
|
||||
badge.setBadgeFromRecipient(recipientSnapshot);
|
||||
}
|
||||
}
|
||||
|
||||
public void setChecked(boolean selected, boolean animate) {
|
||||
|
||||
Reference in New Issue
Block a user