mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 07:07:43 +01:00
Adopt offer book filter for IRC demo mode
This commit is contained in:
parent
0a9222db21
commit
7ea5a92b78
2 changed files with 5 additions and 3 deletions
|
@ -131,9 +131,8 @@ public class RegistrationViewCB extends CachedViewCB<RegistrationPM> implements
|
|||
});
|
||||
|
||||
Popups.openInfo(BSResources.get("You have been successfully registered."),
|
||||
BSResources.get("The transaction ID for the registration fee payment is:\n\n" +
|
||||
presentationModel.getTransactionId() +
|
||||
"\n\n You can now start trading."),
|
||||
BSResources.get("Congratulation you have been successfully registered.\n\n" +
|
||||
" You can now start trading."),
|
||||
actions);
|
||||
}
|
||||
});
|
||||
|
|
|
@ -181,6 +181,8 @@ class OrderBookModel extends UIModel {
|
|||
return true;
|
||||
|
||||
boolean countryResult = offer.getAcceptedCountries().contains(user.getCurrentBankAccount().getCountry());
|
||||
// for IRC test version deactivate the check
|
||||
countryResult = true;
|
||||
if (!countryResult)
|
||||
restrictionsInfo.set("This offer requires that the payments account resides in one of those countries:\n" +
|
||||
formatter.countryLocalesToString(offer.getAcceptedCountries()) +
|
||||
|
@ -188,6 +190,7 @@ class OrderBookModel extends UIModel {
|
|||
") is not included in that list." +
|
||||
"\n\n Do you want to edit your preferences now?");
|
||||
|
||||
|
||||
// TODO Not so clear how the restrictions will be handled
|
||||
// we might get rid of languages (handles viy arbitrators)
|
||||
/*
|
||||
|
|
Loading…
Add table
Reference in a new issue