Never display badges if they are not enabled via feature flag.

This commit is contained in:
Alex Hart
2021-10-12 16:38:15 -03:00
parent 62fa99e0ee
commit ce9cd132ec

View File

@@ -432,7 +432,7 @@ public class Recipient {
this.systemContactName = details.systemContactName;
this.extras = details.extras;
this.hasGroupsInCommon = details.hasGroupsInCommon;
this.badges = details.badges;
this.badges = FeatureFlags.donorBadges() ? details.badges : Collections.emptyList();
}
public @NonNull RecipientId getId() {