fix qr
This commit is contained in:
@@ -68,7 +68,7 @@ class _ScooterCodeInputScreenState extends State<ScooterCodeInputScreen> {
|
|||||||
padding: const EdgeInsets.symmetric(horizontal: 24),
|
padding: const EdgeInsets.symmetric(horizontal: 24),
|
||||||
child: BlocBuilder<ScooterCodeBloc, ScooterCodeState>(
|
child: BlocBuilder<ScooterCodeBloc, ScooterCodeState>(
|
||||||
builder: (context, state) {
|
builder: (context, state) {
|
||||||
final bool isCodeValid = state.code.length >= 5 && state.code.length <= 7;
|
final bool isCodeValid = state.code.length >= 1;
|
||||||
|
|
||||||
return Column(
|
return Column(
|
||||||
children: [
|
children: [
|
||||||
@@ -88,7 +88,7 @@ class _ScooterCodeInputScreenState extends State<ScooterCodeInputScreen> {
|
|||||||
TextField(
|
TextField(
|
||||||
controller: controller,
|
controller: controller,
|
||||||
keyboardType: TextInputType.text,
|
keyboardType: TextInputType.text,
|
||||||
maxLength: 7,
|
// maxLength: 7,
|
||||||
textAlign: TextAlign.left,
|
textAlign: TextAlign.left,
|
||||||
style: const TextStyle(color: Colors.white, fontSize: 18),
|
style: const TextStyle(color: Colors.white, fontSize: 18),
|
||||||
decoration: InputDecoration(
|
decoration: InputDecoration(
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ name: be_happy
|
|||||||
description: ""
|
description: ""
|
||||||
publish_to: 'none'
|
publish_to: 'none'
|
||||||
|
|
||||||
version: 1.0.2+1
|
version: 1.0.3+1
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ^3.8.1
|
sdk: ^3.8.1
|
||||||
|
|||||||
Reference in New Issue
Block a user