[bisq-network/bisq] Update offer button state on account change (#2205)

Jeffrey Ko notifications at github.com
Fri Jan 4 17:16:14 UTC 2019


fixes #2204 

Add updateButtonDisabledState() to onPaymentAccountSelected() in
TakeOfferViewModel since changing the account dropdown in the take
offer screen does not trigger an update of the "Next Step" button.

The default amount of an offer should not change to less than what is
actually offered, change onPaymentAccountSelected() in
TakeOfferDataModel to take into account the min. amount offered.

In TakeOfferView, the payment account defaults to the last one
selected.  Make sure TakeOfferViewModel and TakeOfferDataModel take
this into account in a couple locations.
You can view, comment on, or merge this pull request online at:

  https://github.com/bisq-network/bisq/pull/2205

-- Commit Summary --

  * Update offer button state on account change

-- File Changes --

    M desktop/src/main/java/bisq/desktop/main/offer/takeoffer/TakeOfferDataModel.java (4)
    M desktop/src/main/java/bisq/desktop/main/offer/takeoffer/TakeOfferView.java (5)
    M desktop/src/main/java/bisq/desktop/main/offer/takeoffer/TakeOfferViewModel.java (1)

-- Patch Links --

https://github.com/bisq-network/bisq/pull/2205.patch
https://github.com/bisq-network/bisq/pull/2205.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/2205
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20190104/fc3c6582/attachment-0001.html>


More information about the bisq-github mailing list