Make the donation megaphone flag hot-swappable.

This commit is contained in:
Greyson Parrelli
2021-11-30 17:37:53 -05:00
parent 85f1f27b13
commit a35a35cee8
2 changed files with 3 additions and 2 deletions

View File

@@ -351,7 +351,7 @@ public final class Megaphones {
}
private static boolean shouldShowDonateMegaphone(@NonNull Context context) {
return VersionTracker.getDaysSinceFirstInstalled(context) > 7 && LocaleFeatureFlags.isInDonateMegaphone() &&
return VersionTracker.getDaysSinceFirstInstalled(context) >= 3 && LocaleFeatureFlags.isInDonateMegaphone() &&
Recipient.self()
.getBadges()
.stream()

View File

@@ -180,7 +180,8 @@ public final class FeatureFlags {
GROUP_CALL_RINGING,
CDSH,
SENDER_KEY_MAX_AGE,
DONOR_BADGES_DISPLAY
DONOR_BADGES_DISPLAY,
DONATE_MEGAPHONE
);
/**