diff --git a/lib/views/home/components/popup_menu.dart b/lib/views/home/components/popup_menu.dart index 89baea3..7c6195c 100644 --- a/lib/views/home/components/popup_menu.dart +++ b/lib/views/home/components/popup_menu.dart @@ -32,7 +32,7 @@ class _PopupMenuState extends State { const Choice(title: 'Информация о ККМ', icon: Icons.info_outline, command: 'infokkm'), //if (version >= 24 ) // const Choice(title: 'Bank', icon: Icons.text_fields, command: 'bank'), - if (version >= 24 ) + if (version >= 27 ) const Choice(title: 'Настройка HalykPos', icon: Icons.phonelink_lock_outlined, command: 'tap2phone'), const Choice(title: 'Настройки', icon: Icons.settings, command: 'settings'), const Choice(title: 'Принтер', icon: Icons.print, command: 'print'), diff --git a/lib/views/home/tabs/AdditionalTab.dart b/lib/views/home/tabs/AdditionalTab.dart index 42e6cb8..8c7b9c3 100644 --- a/lib/views/home/tabs/AdditionalTab.dart +++ b/lib/views/home/tabs/AdditionalTab.dart @@ -227,11 +227,11 @@ class _AdditionalTabState extends State { }); int version = await _bankService.version(); - if (version < 24 ) { + if (version < 27 ) { setState(() { isClosePosBusy = false; }); - _dialog.showDialog(description: 'Функция Tap2Phone доступна c Android версии 7.0'); + _dialog.showDialog(description: 'Функция Tap2Phone доступна c Android версии 8.1'); return; } diff --git a/lib/views/payment/payment_view.dart b/lib/views/payment/payment_view.dart index 336e345..228d3c8 100644 --- a/lib/views/payment/payment_view.dart +++ b/lib/views/payment/payment_view.dart @@ -64,7 +64,7 @@ class _PaymentViewState extends State { _bankInit() async { int version = await _bankService.version(); - if (version >= 24) { + if (version >= 27) { setState(() { isBankApiAccess = true; });