Skip to content

Commit

Permalink
[mmzk] (fix) Fix reset btn
Browse files Browse the repository at this point in the history
  • Loading branch information
MMZK1526 committed Dec 3, 2023
1 parent 732ff07 commit 93f1757
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/views/evaluation_tab.dart
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,8 @@ class _EvaluationTabState extends State<EvaluationTab>
children: [
Expanded(
child: Button(
enabled: true,
enabled: evaluateData?.errors.isEmpty == true ||
_lambdaInputManager.hasInput,
colour: Theme.of(context).colorScheme.tertiary,
onPressed: () => _lambdaInputManager.onReset(),
child: SizedBox(
Expand Down

0 comments on commit 93f1757

Please sign in to comment.