mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-22 14:42:37 +01:00
Fix field visibility for fixed amount offer
This commit is contained in:
parent
d435afdd03
commit
5e27cbb2f6
1 changed files with 8 additions and 2 deletions
|
@ -254,7 +254,10 @@ public class TakeOfferView extends ActivatableViewAndModel<AnchorPane, TakeOffer
|
|||
maybeShowClearXchangeWarning();
|
||||
|
||||
if (!model.isRange()) {
|
||||
showNextStepAfterAmountIsSet();
|
||||
nextButton.setVisible(false);
|
||||
cancelButton1.setVisible(false);
|
||||
if (model.isOfferAvailable.get())
|
||||
showNextStepAfterAmountIsSet();
|
||||
}
|
||||
|
||||
if (CurrencyUtil.isFiatCurrency(model.getOffer().getCurrencyCode())) {
|
||||
|
@ -587,8 +590,11 @@ public class TakeOfferView extends ActivatableViewAndModel<AnchorPane, TakeOffer
|
|||
});
|
||||
|
||||
isOfferAvailableSubscription = EasyBind.subscribe(model.isOfferAvailable, isOfferAvailable -> {
|
||||
if (isOfferAvailable)
|
||||
if (isOfferAvailable) {
|
||||
offerAvailabilityBusyAnimation.stop();
|
||||
if (!model.isRange() && !model.showPayFundsScreenDisplayed.get())
|
||||
showNextStepAfterAmountIsSet();
|
||||
}
|
||||
|
||||
offerAvailabilityLabel.setVisible(!isOfferAvailable);
|
||||
offerAvailabilityLabel.setManaged(!isOfferAvailable);
|
||||
|
|
Loading…
Add table
Reference in a new issue