mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-24 11:45:28 +00:00
Make the donation megaphone flag hot-swappable.
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -180,7 +180,8 @@ public final class FeatureFlags {
|
||||
GROUP_CALL_RINGING,
|
||||
CDSH,
|
||||
SENDER_KEY_MAX_AGE,
|
||||
DONOR_BADGES_DISPLAY
|
||||
DONOR_BADGES_DISPLAY,
|
||||
DONATE_MEGAPHONE
|
||||
);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user