flag and end of attempt 2

master
gitea 4 weeks ago
parent 187d74db8d
commit f3f44c8c69

@ -101,7 +101,7 @@ class _AttemptResultScreenState extends State<AttemptResultScreen> {
final q = _currentQuestionInDeck(questionId); final q = _currentQuestionInDeck(questionId);
showTopSnackBar( showTopSnackBar(
context, 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, backgroundColor: q?.isFlagged == true ? Colors.orange : null,
); );
} }
@ -114,7 +114,7 @@ class _AttemptResultScreenState extends State<AttemptResultScreen> {
_deckStorage.saveDeckSync(_deck!); _deckStorage.saveDeckSync(_deck!);
showTopSnackBar( showTopSnackBar(
context, context,
'Marked as needs practice', message: 'Marked as needs practice',
backgroundColor: Colors.blue, backgroundColor: Colors.blue,
); );
} }

Loading…
Cancel
Save

Powered by TurnKey Linux.