mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-24 19:00:26 +01:00
Refactor FeatureFlags.
This commit is contained in:
@@ -118,7 +118,7 @@ internal class PaymentsValues internal constructor(store: KeyValueStore) : Signa
|
||||
if (!SignalStore.account().isRegistered) {
|
||||
return PaymentsAvailability.NOT_IN_REGION
|
||||
}
|
||||
return if (FeatureFlags.payments()) {
|
||||
return if (FeatureFlags.payments) {
|
||||
if (mobileCoinPaymentsEnabled()) {
|
||||
if (GeographicalRestrictions.e164Allowed(SignalStore.account().e164)) {
|
||||
PaymentsAvailability.WITHDRAW_AND_SEND
|
||||
|
||||
Reference in New Issue
Block a user