diff --git a/lib/screens/practise/kanji.dart b/lib/screens/practise/kanji.dart index 2b1a000..cc9a0b9 100644 --- a/lib/screens/practise/kanji.dart +++ b/lib/screens/practise/kanji.dart @@ -104,9 +104,11 @@ class _KanjiPageState extends State { setState(() => isPressed = !isPressed); }, onNextCard: () => setState(() { - controller.clear(); - isPressed = false; - widget.onNextCard(); + if (isPressed) { + controller.clear(); + widget.onNextCard(); + } + setState(() => isPressed = !isPressed); }), onPreviousCard: () => setState(() { controller.clear();