mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-02-26 17:31:27 -05:00
remove account info from crypto offer view
This commit is contained in:
parent
b48dbc2fb3
commit
f35c7f8544
@ -643,9 +643,10 @@ abstract class OfferBookViewModel extends ActivatableViewModel {
|
||||
|
||||
public boolean hasSelectionAccountSigning() {
|
||||
if (showAllTradeCurrenciesProperty.get()) {
|
||||
if (!isShowAllEntry(selectedPaymentMethod.getId())) {
|
||||
if (isShowAllEntry(selectedPaymentMethod.getId()))
|
||||
return !(this instanceof CryptoOfferBookViewModel);
|
||||
else
|
||||
return PaymentMethod.hasChargebackRisk(selectedPaymentMethod);
|
||||
}
|
||||
} else {
|
||||
if (isShowAllEntry(selectedPaymentMethod.getId()))
|
||||
return CurrencyUtil.getMatureMarketCurrencies().stream()
|
||||
@ -653,7 +654,6 @@ abstract class OfferBookViewModel extends ActivatableViewModel {
|
||||
else
|
||||
return PaymentMethod.hasChargebackRisk(selectedPaymentMethod, tradeCurrencyCode.get());
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
private static String getDirectionWithCodeDetailed(OfferDirection direction, String currencyCode) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user