flag and end of attempt 2

This commit is contained in:
gitea
2026-02-01 21:38:37 +01:00
parent 187d74db8d
commit f3f44c8c69
+2 -2
View File
@@ -101,7 +101,7 @@ class _AttemptResultScreenState extends State<AttemptResultScreen> {
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<AttemptResultScreen> {
_deckStorage.saveDeckSync(_deck!);
showTopSnackBar(
context,
'Marked as needs practice',
message: 'Marked as needs practice',
backgroundColor: Colors.blue,
);
}