flag and end of attempt 2
This commit is contained in:
@@ -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,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user