mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
Add dont show again checkbox
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
This commit is contained in:
parent
52e9a8cd77
commit
48b8eb6231
@ -503,12 +503,17 @@ public class SellerStep3View extends TradeStepView {
|
|||||||
confirmButton.setOnAction(e -> onReleaseBitcoin());
|
confirmButton.setOnAction(e -> onReleaseBitcoin());
|
||||||
payoutDelayTimer = UserThread.runPeriodically(this::updateConfirmButtonDisableState, 1, TimeUnit.SECONDS);
|
payoutDelayTimer = UserThread.runPeriodically(this::updateConfirmButtonDisableState, 1, TimeUnit.SECONDS);
|
||||||
}
|
}
|
||||||
if (!model.dataModel.requiredPayoutDelayHasPassed()) {
|
String tradeId = Objects.requireNonNull(model.dataModel.getTrade()).getShortId();
|
||||||
new Popup().warning(Res.get("portfolio.pending.step3_seller.delayedPayout",
|
String key = "trade.delayedPayout." + tradeId;
|
||||||
Objects.requireNonNull(model.dataModel.getTrade()).getShortId(),
|
if (DontShowAgainLookup.showAgain(key)) {
|
||||||
DisplayUtils.formatDateTime(model.dataModel.getDelayedPayoutDate())))
|
if (!model.dataModel.requiredPayoutDelayHasPassed()) {
|
||||||
.closeButtonText(Res.get("shared.iUnderstand"))
|
new Popup().warning(Res.get("portfolio.pending.step3_seller.delayedPayout",
|
||||||
.show();
|
tradeId,
|
||||||
|
DisplayUtils.formatDateTime(model.dataModel.getDelayedPayoutDate())))
|
||||||
|
.closeButtonText(Res.get("shared.iUnderstand"))
|
||||||
|
.dontShowAgainId(key)
|
||||||
|
.show();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (payoutDelayTimer != null) {
|
if (payoutDelayTimer != null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user