CAKE-198 | fixed string resources

This commit is contained in:
Oleksandr Sobol
2020-12-23 10:39:59 +02:00
parent 023336d460
commit 139f223de8
17 changed files with 235 additions and 52 deletions
@@ -305,11 +305,7 @@ class ExchangeTradeState extends State<ExchangeTradeForm> {
padding: EdgeInsets.only(
top: 220, left: 24, right: 24),
child: Text(
S.of(context).send_success(widget
.exchangeTradeViewModel
.wallet
.currency
.toString()),
S.of(context).send_success,
textAlign: TextAlign.center,
style: TextStyle(
fontSize: 22,
+2 -4
View File
@@ -320,7 +320,7 @@ class SendPage extends BasePage {
fontSize: 14,
fontWeight: FontWeight.w500,
color: Colors.white),
hintText: 'Note (optional)',
hintText: S.of(context).note_optional,
placeholderTextStyle: TextStyle(
fontSize: 14,
fontWeight: FontWeight.w500,
@@ -668,9 +668,7 @@ class SendPage extends BasePage {
padding: EdgeInsets.only(
top: 220, left: 24, right: 24),
child: Text(
S.of(context).send_success(
sendViewModel.currency
.toString()),
S.of(context).send_success,
textAlign: TextAlign.center,
style: TextStyle(
fontSize: 22,
@@ -1,5 +1,6 @@
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:cake_wallet/generated/i18n.dart';
class TextFieldListRow extends StatelessWidget {
TextFieldListRow(
@@ -59,7 +60,7 @@ class TextFieldListRow extends StatelessWidget {
decoration: InputDecoration(
isDense: true,
contentPadding: EdgeInsets.only(top: 12, bottom: 0),
hintText: 'Note',
hintText: S.of(context).note,
hintStyle: TextStyle(
fontSize: valueFontSize,
fontWeight: FontWeight.w500,