Skip to content

Commit

Permalink
amount bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniela Damaschin authored and Daniela Damaschin committed Jul 4, 2024
1 parent 30a3fdf commit 2b26090
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/features/children/add_member/widgets/add_member_form.dart
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class _AddMemberFormState extends State<AddMemberForm> {
final _emailParentController = TextEditingController();
final _ageController = TextEditingController();
bool isChildSelected = true;
int _allowance = 15;
int _allowance = 5;
final formKeyChild = GlobalKey<FormState>();
final formKeyParent = GlobalKey<FormState>();
late final FocusNode _childNameFocusNode;
Expand Down Expand Up @@ -339,7 +339,7 @@ class _AddMemberFormState extends State<AddMemberForm> {
),
AllowanceCounter(
currency: currency,
initialAllowance: 5,
initialAllowance: _allowance,
canAmountBeZero: true,
onAllowanceChanged: (allowance) => _allowance = allowance,
),
Expand Down

0 comments on commit 2b26090

Please sign in to comment.