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