From 5f4d20fce45d5650e8f767644d601770cddebc90 Mon Sep 17 00:00:00 2001 From: "Serik.Uvaissov" Date: Wed, 9 Sep 2020 22:08:07 +0600 Subject: [PATCH] currency release --- lib/views/payment_nfc/payment_nfc_view.dart | 18 +++++++++--------- pubspec.yaml | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) 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: