mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-06-24 14:50:28 -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()) {
|
||||
noFundingRequiredTitledGroupBg.setVisible(true);
|
||||
noFundingRequiredLabel.setVisible(true);
|
||||
extraInfoLabel.setVisible(true);
|
||||
extraInfoLabel.setManaged(true);
|
||||
extraInfoTextArea.setVisible(true);
|
||||
extraInfoTextArea.setManaged(true);
|
||||
if (model.getOffer().getCombinedExtraInfo() != null && !model.getOffer().getCombinedExtraInfo().isEmpty()) {
|
||||
extraInfoLabel.setVisible(true);
|
||||
extraInfoLabel.setManaged(true);
|
||||
extraInfoTextArea.setVisible(true);
|
||||
extraInfoTextArea.setManaged(true);
|
||||
}
|
||||
} else {
|
||||
payFundsTitledGroupBg.setVisible(true);
|
||||
totalToPayTextField.setVisible(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue