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(
|
||||
|
||||
Reference in New Issue
Block a user