From b0c9f6dc1725d7e8b1ec7bc8a2579f6dec93cd5b Mon Sep 17 00:00:00 2001 From: Polyanka1 Date: Mon, 31 Aug 2026 09:57:40 +0300 Subject: [PATCH] fix qr --- lib/presentation/screens/scooter_code_input_screen.dart | 4 ++-- pubspec.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/presentation/screens/scooter_code_input_screen.dart b/lib/presentation/screens/scooter_code_input_screen.dart index 05aaed4..133d9d3 100644 --- a/lib/presentation/screens/scooter_code_input_screen.dart +++ b/lib/presentation/screens/scooter_code_input_screen.dart @@ -68,7 +68,7 @@ class _ScooterCodeInputScreenState extends State { padding: const EdgeInsets.symmetric(horizontal: 24), child: BlocBuilder( builder: (context, state) { - final bool isCodeValid = state.code.length >= 5 && state.code.length <= 7; + final bool isCodeValid = state.code.length >= 1; return Column( children: [ @@ -88,7 +88,7 @@ class _ScooterCodeInputScreenState extends State { TextField( controller: controller, keyboardType: TextInputType.text, - maxLength: 7, + // maxLength: 7, textAlign: TextAlign.left, style: const TextStyle(color: Colors.white, fontSize: 18), decoration: InputDecoration( diff --git a/pubspec.yaml b/pubspec.yaml index 6e96964..0f9859b 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -2,7 +2,7 @@ name: be_happy description: "" publish_to: 'none' -version: 1.0.2+1 +version: 1.0.3+1 environment: sdk: ^3.8.1