Исправил названия валют для Украины и баг с тем, что при выбранном евро везде писалось 'гривна'
This commit is contained in:
@@ -48,6 +48,7 @@ class _CurrenciesState extends SettingsBaseState<CurrenciesScreen> {
|
||||
|
||||
@override
|
||||
saveOption() async {
|
||||
print(currencies[selectedItem]);
|
||||
await helper.saveCurrency(currencies[selectedItem]);
|
||||
}
|
||||
}
|
||||
@@ -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)),
|
||||
|
||||
Reference in New Issue
Block a user