Skip to content

Commit

Permalink
feat: enable moneygram for PT (#1558)
Browse files Browse the repository at this point in the history
  • Loading branch information
ookami-kb authored Aug 29, 2024
1 parent 56821ef commit 8792066
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ IList<RampPartner> _getOnRampPartners(String countryCode) {
final isMoneygramEnabled =
sl<FeatureFlagsManager>().isMoneygramAccessEnabled();

if (isMoneygramEnabled && _moneygramCountries.contains(countryCode)) {
if (isMoneygramEnabled && _moneygramOnRampCountries.contains(countryCode)) {
partners.add(RampPartner.moneygram);
}

Expand All @@ -322,7 +322,7 @@ IList<RampPartner> _getOffRampPartners(String countryCode) {
final isMoneygramEnabled =
sl<FeatureFlagsManager>().isMoneygramAccessEnabled();

if (isMoneygramEnabled && _moneygramCountries.contains(countryCode)) {
if (isMoneygramEnabled && _moneygramOffRampCountries.contains(countryCode)) {
partners.add(RampPartner.moneygram);
}

Expand All @@ -345,4 +345,5 @@ const _coinflowCountries = {

const _scalexCountries = {'NG'};

const _moneygramCountries = {'US'};
const _moneygramOnRampCountries = {'US'};
const _moneygramOffRampCountries = {'US', 'PT'};

0 comments on commit 8792066

Please sign in to comment.