mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-11-29 16:06:46 -05:00
Dont remove listener on fault
This commit is contained in:
parent
148278a959
commit
ea76c0577e
3 changed files with 14 additions and 9 deletions
|
|
@ -225,9 +225,8 @@ public abstract class TradeStepView extends AnchorPane {
|
|||
}
|
||||
|
||||
private void showDisputeInfoLabel() {
|
||||
if (notificationGroup != null) {
|
||||
if (notificationGroup != null)
|
||||
notificationGroup.setLabelAndHeadlineVisible(true);
|
||||
}
|
||||
}
|
||||
|
||||
private void showOpenDisputeButton() {
|
||||
|
|
@ -308,6 +307,10 @@ public abstract class TradeStepView extends AnchorPane {
|
|||
notificationGroup.label.setText(getWarningText());
|
||||
}
|
||||
|
||||
private void removeWarning() {
|
||||
hideNotificationGroup();
|
||||
}
|
||||
|
||||
protected String getWarningText() {
|
||||
return "";
|
||||
}
|
||||
|
|
@ -402,7 +405,10 @@ public abstract class TradeStepView extends AnchorPane {
|
|||
case NORMAL:
|
||||
break;
|
||||
case HALF_REACHED:
|
||||
showWarning();
|
||||
if (trade.getState().getPhase().ordinal() < Trade.Phase.FIAT_RECEIVED.ordinal())
|
||||
showWarning();
|
||||
else
|
||||
removeWarning();
|
||||
break;
|
||||
case TRADE_PERIOD_OVER:
|
||||
onOpenForDispute();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue