mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-08-23 14:05:30 -04:00
fix npe formatting offer volume with negative market rate
This commit is contained in:
parent
1c172edb32
commit
8b735d17b7
2 changed files with 19 additions and 16 deletions
|
@ -1221,6 +1221,9 @@ public abstract class MutableOfferViewModel<M extends MutableOfferDataModel> ext
|
|||
}
|
||||
|
||||
void updateButtonDisableState() {
|
||||
dataModel.calculateVolume();
|
||||
dataModel.calculateTotalToPay();
|
||||
|
||||
boolean inputDataValid = isXmrInputValid(amount.get()).isValid &&
|
||||
isXmrInputValid(minAmount.get()).isValid &&
|
||||
isPriceInputValid(price.get()).isValid &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue