fix qr
This commit is contained in:
@@ -68,7 +68,7 @@ class _ScooterCodeInputScreenState extends State<ScooterCodeInputScreen> {
|
||||
padding: const EdgeInsets.symmetric(horizontal: 24),
|
||||
child: BlocBuilder<ScooterCodeBloc, ScooterCodeState>(
|
||||
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<ScooterCodeInputScreen> {
|
||||
TextField(
|
||||
controller: controller,
|
||||
keyboardType: TextInputType.text,
|
||||
maxLength: 7,
|
||||
// maxLength: 7,
|
||||
textAlign: TextAlign.left,
|
||||
style: const TextStyle(color: Colors.white, fontSize: 18),
|
||||
decoration: InputDecoration(
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user