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());
|
||||
payoutDelayTimer = UserThread.runPeriodically(this::updateConfirmButtonDisableState, 1, TimeUnit.SECONDS);
|
||||
}
|
||||
if (!model.dataModel.requiredPayoutDelayHasPassed()) {
|
||||
new Popup().warning(Res.get("portfolio.pending.step3_seller.delayedPayout",
|
||||
Objects.requireNonNull(model.dataModel.getTrade()).getShortId(),
|
||||
DisplayUtils.formatDateTime(model.dataModel.getDelayedPayoutDate())))
|
||||
.closeButtonText(Res.get("shared.iUnderstand"))
|
||||
.show();
|
||||
String tradeId = Objects.requireNonNull(model.dataModel.getTrade()).getShortId();
|
||||
String key = "trade.delayedPayout." + tradeId;
|
||||
if (DontShowAgainLookup.showAgain(key)) {
|
||||
if (!model.dataModel.requiredPayoutDelayHasPassed()) {
|
||||
new Popup().warning(Res.get("portfolio.pending.step3_seller.delayedPayout",
|
||||
tradeId,
|
||||
DisplayUtils.formatDateTime(model.dataModel.getDelayedPayoutDate())))
|
||||
.closeButtonText(Res.get("shared.iUnderstand"))
|
||||
.dontShowAgainId(key)
|
||||
.show();
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (payoutDelayTimer != null) {
|
||||
|
Loading…
Reference in New Issue
Block a user