diff --git a/lib/views/payment_nfc/payment_nfc_view.dart b/lib/views/payment_nfc/payment_nfc_view.dart index 68f1b9a..62adc5d 100644 --- a/lib/views/payment_nfc/payment_nfc_view.dart +++ b/lib/views/payment_nfc/payment_nfc_view.dart @@ -110,15 +110,15 @@ class _PaymentNfcViewState extends State { return; } -// //валюта -// bool currency = await _bankService.currency(); -// log.i(currency); -// if (!currency) { -// setState(() { -// status = 4; -// }); -// return; -// } + //валюта + bool currency = await _bankService.currency(); + log.i(currency); + if (!currency) { + setState(() { + status = 4; + }); + return; + } pay(); } diff --git a/pubspec.yaml b/pubspec.yaml index 35d3b46..32ebaab 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: aman_kassa_flutter description: A new Flutter project. -version: 1.0.3+23 +version: 1.1.0+24 environment: sdk: '>=2.3.0 <3.0.0' dependencies: