Исправил названия валют для Украины и баг с тем, что при выбранном евро везде писалось 'гривна'

This commit is contained in:
Ivan Murashov
2017-09-15 11:29:34 +03:00
parent 87b88cb99c
commit 6f76ea7b2a
9 changed files with 27 additions and 63 deletions

View File

@@ -48,6 +48,7 @@ class _CurrenciesState extends SettingsBaseState<CurrenciesScreen> {
@override
saveOption() async {
print(currencies[selectedItem]);
await helper.saveCurrency(currencies[selectedItem]);
}
}

View File

@@ -192,6 +192,7 @@ class PurchaseScreenState<T> extends BaseState<PurchaseScreen> {
onPurchaseClick() {
String val = _parseSum(controller.text);
helper.getCurrency().then((currency) {
print(currency.toString());
showDialog(context: context, child: new AlertDialog(
title: new Text(StringsLocalization.confirmation()),
content: new Text(StringsLocalization.confirmPurchase(val, currency)),