mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-06-25 07:10:48 -04:00
fix npe showing extra info when taking offer
This commit is contained in:
parent
960ffe092f
commit
6c8023e9c4
1 changed files with 6 additions and 4 deletions
|
@ -503,10 +503,12 @@ public class TakeOfferView extends ActivatableViewAndModel<AnchorPane, TakeOffer
|
||||||
if (model.getOffer().hasBuyerAsTakerWithoutDeposit()) {
|
if (model.getOffer().hasBuyerAsTakerWithoutDeposit()) {
|
||||||
noFundingRequiredTitledGroupBg.setVisible(true);
|
noFundingRequiredTitledGroupBg.setVisible(true);
|
||||||
noFundingRequiredLabel.setVisible(true);
|
noFundingRequiredLabel.setVisible(true);
|
||||||
extraInfoLabel.setVisible(true);
|
if (model.getOffer().getCombinedExtraInfo() != null && !model.getOffer().getCombinedExtraInfo().isEmpty()) {
|
||||||
extraInfoLabel.setManaged(true);
|
extraInfoLabel.setVisible(true);
|
||||||
extraInfoTextArea.setVisible(true);
|
extraInfoLabel.setManaged(true);
|
||||||
extraInfoTextArea.setManaged(true);
|
extraInfoTextArea.setVisible(true);
|
||||||
|
extraInfoTextArea.setManaged(true);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
payFundsTitledGroupBg.setVisible(true);
|
payFundsTitledGroupBg.setVisible(true);
|
||||||
totalToPayTextField.setVisible(true);
|
totalToPayTextField.setVisible(true);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue