Skip to content

Commit

Permalink
Only apply price spec in select offer wizard
Browse files Browse the repository at this point in the history
  • Loading branch information
axpoems committed Dec 18, 2024
1 parent 3a7c88a commit 3f9aac3
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,10 @@ public void onActivate() {
tradeWizardSelectOfferController::setQuoteSideAmountSpec);
priceSpecPin = EasyBind.subscribe(tradeWizardAmountAndPriceController.getPriceSpec(),
priceSpec -> {
tradeWizardAmountAndPriceController.updateQuoteSideAmountSpecWithPriceSpec(priceSpec);
tradeWizardSelectOfferController.setPriceSpec(priceSpec);
if (!model.isCreateOfferMode()) {
tradeWizardAmountAndPriceController.updateQuoteSideAmountSpecWithPriceSpec(priceSpec);
tradeWizardSelectOfferController.setPriceSpec(priceSpec);
}
});
selectedBisqEasyOfferPin = EasyBind.subscribe(tradeWizardSelectOfferController.getSelectedBisqEasyOffer(),
selectedBisqEasyOffer -> {
Expand Down

0 comments on commit 3f9aac3

Please sign in to comment.