From 93f1757df67b09ef8434f474d36cfc0c2cd13403 Mon Sep 17 00:00:00 2001 From: mmzk1526 Date: Sun, 3 Dec 2023 17:17:53 +0000 Subject: [PATCH] [mmzk] (fix) Fix reset btn --- lib/views/evaluation_tab.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/views/evaluation_tab.dart b/lib/views/evaluation_tab.dart index a9ca53b..1204d5a 100644 --- a/lib/views/evaluation_tab.dart +++ b/lib/views/evaluation_tab.dart @@ -238,7 +238,8 @@ class _EvaluationTabState extends State children: [ Expanded( child: Button( - enabled: true, + enabled: evaluateData?.errors.isEmpty == true || + _lambdaInputManager.hasInput, colour: Theme.of(context).colorScheme.tertiary, onPressed: () => _lambdaInputManager.onReset(), child: SizedBox(