Hide trigger price box if not used in confirmation step

This commit is contained in:
Christoph Atteneder 2021-02-01 19:52:31 +01:00
parent a8365cad07
commit 480ccd2c8e
No known key found for this signature in database
GPG Key ID: CD5DC1C529CDFD3B

View File

@ -426,6 +426,10 @@ public abstract class MutableOfferView<M extends MutableOfferViewModel<?>> exten
updateOfferElementsStyle();
if (triggerPriceInputTextField.getText().isEmpty()) {
triggerPriceVBox.setVisible(false);
}
balanceTextField.setTargetAmount(model.getDataModel().totalToPayAsCoinProperty().get());
if (!DevEnv.isDevMode()) {