From f3f44c8c69f01020bc0f1a9768d1d22aee799b96 Mon Sep 17 00:00:00 2001 From: gitea Date: Sun, 1 Feb 2026 21:38:37 +0100 Subject: [PATCH] flag and end of attempt 2 --- lib/screens/attempt_result_screen.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/screens/attempt_result_screen.dart b/lib/screens/attempt_result_screen.dart index 433457e..a15d1af 100644 --- a/lib/screens/attempt_result_screen.dart +++ b/lib/screens/attempt_result_screen.dart @@ -101,7 +101,7 @@ class _AttemptResultScreenState extends State { final q = _currentQuestionInDeck(questionId); showTopSnackBar( context, - q?.isFlagged == true ? 'Question flagged for review' : 'Question unflagged', + message: q?.isFlagged == true ? 'Question flagged for review' : 'Question unflagged', backgroundColor: q?.isFlagged == true ? Colors.orange : null, ); } @@ -114,7 +114,7 @@ class _AttemptResultScreenState extends State { _deckStorage.saveDeckSync(_deck!); showTopSnackBar( context, - 'Marked as needs practice', + message: 'Marked as needs practice', backgroundColor: Colors.blue, ); }