From b4e946368175a2e4d92dc0f1e044bc30869537a8 Mon Sep 17 00:00:00 2001 From: detrebear Date: Fri, 25 Oct 2024 17:24:37 +0000 Subject: [PATCH] fix: Submit with enter button --- lib/pages/learning/learning_view.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pages/learning/learning_view.dart b/lib/pages/learning/learning_view.dart index fd6d0c6..6002637 100644 --- a/lib/pages/learning/learning_view.dart +++ b/lib/pages/learning/learning_view.dart @@ -190,7 +190,7 @@ class LearningView extends StatelessWidget { enableSuggestions: false, textInputAction: TextInputAction.done, - // onSubmitted: (_) => controller.checkStringChoice(), + onSubmitted: (_) => controller.checkStringChoice(), decoration: InputDecoration( hintText: currentCharacter is Kanji && controller.enterKanjiKana