mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-23 15:00:30 +01:00
Merge pull request #6777 from jmacxx/fix_issue_6661
Show AmazonGC country in offer book.
This commit is contained in:
commit
cbfc68b4dd
1 changed files with 3 additions and 0 deletions
|
@ -247,6 +247,9 @@ public class PaymentAccountUtil {
|
|||
if (paymentAccount instanceof CountryBasedPaymentAccount) {
|
||||
Country country = (((CountryBasedPaymentAccount) paymentAccount)).getCountry();
|
||||
return country != null ? country.code : null;
|
||||
} else if (paymentAccount instanceof AmazonGiftCardAccount) { // GH ISSUE #6661 show Amazon country
|
||||
Country country = ((AmazonGiftCardAccount) paymentAccount).getCountry();
|
||||
return country != null ? country.code : null;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue