mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 17:29:32 +01:00
Inline the username flag.
This commit is contained in:
committed by
Cody Henthorne
parent
bd3b779282
commit
8ad77ac7aa
@@ -397,8 +397,7 @@ public final class Megaphones {
|
||||
long phoneNumberDiscoveryDisabledAt = SignalStore.phoneNumberPrivacy().getPhoneNumberDiscoverabilityModeTimestamp();
|
||||
PhoneNumberPrivacyValues.PhoneNumberDiscoverabilityMode listingMode = SignalStore.phoneNumberPrivacy().getPhoneNumberDiscoverabilityMode();
|
||||
|
||||
return FeatureFlags.usernames() &&
|
||||
!hasUsername &&
|
||||
return !hasUsername &&
|
||||
listingMode.isUndiscoverable() &&
|
||||
!hasCompleted &&
|
||||
phoneNumberDiscoveryDisabledAt > 0 &&
|
||||
|
||||
Reference in New Issue
Block a user