remove account info from crypto offer view
This commit is contained in:
parent
b48dbc2fb3
commit
f35c7f8544
1 changed files with 3 additions and 3 deletions
|
@ -643,9 +643,10 @@ abstract class OfferBookViewModel extends ActivatableViewModel {
|
||||||
|
|
||||||
public boolean hasSelectionAccountSigning() {
|
public boolean hasSelectionAccountSigning() {
|
||||||
if (showAllTradeCurrenciesProperty.get()) {
|
if (showAllTradeCurrenciesProperty.get()) {
|
||||||
if (!isShowAllEntry(selectedPaymentMethod.getId())) {
|
if (isShowAllEntry(selectedPaymentMethod.getId()))
|
||||||
|
return !(this instanceof CryptoOfferBookViewModel);
|
||||||
|
else
|
||||||
return PaymentMethod.hasChargebackRisk(selectedPaymentMethod);
|
return PaymentMethod.hasChargebackRisk(selectedPaymentMethod);
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
if (isShowAllEntry(selectedPaymentMethod.getId()))
|
if (isShowAllEntry(selectedPaymentMethod.getId()))
|
||||||
return CurrencyUtil.getMatureMarketCurrencies().stream()
|
return CurrencyUtil.getMatureMarketCurrencies().stream()
|
||||||
|
@ -653,7 +654,6 @@ abstract class OfferBookViewModel extends ActivatableViewModel {
|
||||||
else
|
else
|
||||||
return PaymentMethod.hasChargebackRisk(selectedPaymentMethod, tradeCurrencyCode.get());
|
return PaymentMethod.hasChargebackRisk(selectedPaymentMethod, tradeCurrencyCode.get());
|
||||||
}
|
}
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private static String getDirectionWithCodeDetailed(OfferDirection direction, String currencyCode) {
|
private static String getDirectionWithCodeDetailed(OfferDirection direction, String currencyCode) {
|
||||||
|
|
Loading…
Reference in a new issue