CAKE-306 | applied localization to MoonPay alert

This commit is contained in:
OleksandrSobol
2021-06-02 09:56:06 +03:00
parent 9e1c151f85
commit 1bf6ef6077
15 changed files with 31 additions and 15 deletions
+3 -1
View File
@@ -261,7 +261,9 @@ class PreOrderPage extends BasePage {
builder: (BuildContext context) {
return AlertWithOneAction(
alertTitle: 'MoonPay',
alertContent: 'Value of the amount must be more than $minAmount ${buyViewModel.fiatCurrency.toString()}',
alertContent: S.of(context).moonpay_alert_text(
minAmount.toString(),
buyViewModel.fiatCurrency.toString()),
buttonText: S.of(context).ok,
buttonAction: () => Navigator.of(context).pop());
});