Skip to content

Commit

Permalink
Remove temporary comments
Browse files Browse the repository at this point in the history
  • Loading branch information
axpoems committed Dec 31, 2023
1 parent ed40dcf commit d41a790
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ private void onBtcSent() {

@Getter
private static class Model extends BaseState.Model {
@Setter // TODO: why setter here?
@Setter
protected String btcAddress;
private final StringProperty txId = new SimpleStringProperty();

Expand All @@ -107,7 +107,6 @@ public static class View extends BaseState.View<Model, Controller> {
private View(Model model, Controller controller) {
super(model, controller);

// TODO: no need for the pair (ie. WrappingText here)
Pair<WrappingText, HBox> confirmPair = FormUtils.getConfirmInfo();
fiatReceiptConfirmed = confirmPair.getFirst();
HBox fiatReceiptConfirmedHBox = confirmPair.getSecond();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,6 @@ public void configTransitions() {

addTransition()
.from(BUYER_SENT_FIAT_SENT_CONFIRMATION)
// .on(BisqEasySendBtcAddressEvent.class)
// .run(BisqEasySendBtcAddressEventHandler.class)
// .to(BUYER_SENT_BTC_ADDRESS);
//
// addTransition()
// .from(BUYER_SENT_BTC_ADDRESS)
.on(BisqEasyConfirmFiatReceiptMessage.class)
.run(BisqEasyConfirmFiatReceiptMessageHandler.class)
.to(BUYER_RECEIVED_SELLERS_FIAT_RECEIPT_CONFIRMATION);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public void configTransitions() {
.run(BisqEasySendBtcAddressEventHandler.class)
.to(BUYER_SENT_BTC_ADDRESS);

addTransition() // -> Skip showing in UI if already there
addTransition()
.from(BUYER_SENT_BTC_ADDRESS)
.on(BisqEasyAccountDataMessage.class)
.run(BisqEasyAccountDataMessageHandler.class)
Expand All @@ -64,13 +64,6 @@ public void configTransitions() {

addTransition()
.from(BUYER_SENT_FIAT_SENT_CONFIRMATION)
// .on(BisqEasySendBtcAddressEvent.class)
// .run(BisqEasySendBtcAddressEventHandler.class)
// .to(BUYER_SENT_BTC_ADDRESS);


// addTransition()
// .from(BUYER_SENT_BTC_ADDRESS)
.on(BisqEasyConfirmFiatReceiptMessage.class)
.run(BisqEasyConfirmFiatReceiptMessageHandler.class)
.to(BUYER_RECEIVED_SELLERS_FIAT_RECEIPT_CONFIRMATION);
Expand Down

0 comments on commit d41a790

Please sign in to comment.