mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-08-04 20:54:13 -04:00
allow offer trigger price outside of current price
This commit is contained in:
parent
290a3738b7
commit
f675588a2d
3 changed files with 17 additions and 24 deletions
|
@ -692,7 +692,7 @@ public class OpenOffersView extends ActivatableViewAndModel<VBox, OpenOffersView
|
|||
AutoTooltipSlideToggleButton checkBox;
|
||||
|
||||
private void updateState(@NotNull OpenOffer openOffer) {
|
||||
if (checkBox != null) checkBox.setSelected(!openOffer.isDeactivated());
|
||||
if (checkBox != null) checkBox.setSelected(openOffer.getState() == OpenOffer.State.AVAILABLE);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue