mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
Merge pull request #1822 from ManfredKarrer/add-cash-depoist-warning
Add warning popup for cash deposit
This commit is contained in:
commit
55133ef117
@ -2213,6 +2213,9 @@ payment.limits.info=Please be aware that all bank transfers carry a certain amou
|
||||
\n\
|
||||
Please note that there are no limits on the total number of times you can trade.
|
||||
|
||||
payment.cashDeposit.info=Please confirm your bank allows you to send cash deposits into other peoples' accounts. \
|
||||
For example, Bank of America and Wells Fargo no longer allow such deposits.
|
||||
|
||||
payment.f2f.contact=Contact info
|
||||
payment.f2f.contact.prompt=How you want to get contacted by the trading peer? (email address, phone number,...)
|
||||
payment.f2f.city=City for 'Face to face' meeting
|
||||
|
@ -79,6 +79,7 @@ import bisq.desktop.util.validation.WeChatPayValidator;
|
||||
import bisq.core.app.BisqEnvironment;
|
||||
import bisq.core.locale.Res;
|
||||
import bisq.core.payment.AccountAgeWitnessService;
|
||||
import bisq.core.payment.CashDepositAccount;
|
||||
import bisq.core.payment.ClearXchangeAccount;
|
||||
import bisq.core.payment.F2FAccount;
|
||||
import bisq.core.payment.HalCashAccount;
|
||||
@ -298,6 +299,13 @@ public class FiatAccountsView extends ActivatableViewAndModel<GridPane, FiatAcco
|
||||
.actionButtonText(Res.get("shared.iUnderstand"))
|
||||
.onAction(() -> doSaveNewAccount(paymentAccount))
|
||||
.show();
|
||||
} else if (paymentAccount instanceof CashDepositAccount) {
|
||||
new Popup<>().information(Res.get("payment.cashDeposit.info"))
|
||||
.width(700)
|
||||
.closeButtonText(Res.get("shared.cancel"))
|
||||
.actionButtonText(Res.get("shared.iConfirm"))
|
||||
.onAction(() -> doSaveNewAccount(paymentAccount))
|
||||
.show();
|
||||
} else {
|
||||
doSaveNewAccount(paymentAccount);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user