Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
axpoems committed Jan 30, 2025
1 parent 002e9cd commit 64da405
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@ public void onActivate() {
tradeWizardSelectOfferController::setQuoteSideAmountSpec);
priceSpecPin = EasyBind.subscribe(tradeWizardAmountAndPriceController.getPriceSpec(),
priceSpec -> {
tradeWizardAmountAndPriceController.updateQuoteSideAmountSpecWithPriceSpec(priceSpec);
tradeWizardSelectOfferController.setPriceSpec(priceSpec);
tradeWizardAmountAndPriceController.updateQuoteSideAmountSpecWithPriceSpec(priceSpec);
tradeWizardSelectOfferController.setPriceSpec(priceSpec);
});
selectedBisqEasyOfferPin = EasyBind.subscribe(tradeWizardSelectOfferController.getSelectedBisqEasyOffer(),
selectedBisqEasyOffer -> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ public void updateQuoteSideAmountSpecWithPriceSpec(PriceSpec priceSpec) {
if (priceSpec == null) {
return;
}

QuoteSideAmountSpec amountSpec = model.getQuoteSideAmountSpec().get();
if (amountSpec == null) {
return;
Expand All @@ -185,7 +186,6 @@ public void updateQuoteSideAmountSpecWithPriceSpec(PriceSpec priceSpec) {
log.warn("priceQuote is empty at updateQuoteSideAmountSpecWithPriceSpec");
return;
}

model.getPriceQuote().set(priceQuote.get());
amountSelectionController.setQuote(priceQuote.get());

Expand Down

0 comments on commit 64da405

Please sign in to comment.