chore: prevent user from spamming disabled vocab practice button (#5138)

This commit is contained in:
ggurdin 2026-01-08 15:15:48 -05:00 committed by GitHub
parent 5e132dd7fe
commit 2784c9b913
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -225,6 +225,7 @@ Widget _buildVocabPracticeButton(BuildContext context) {
);
}
: () {
ScaffoldMessenger.of(context).hideCurrentSnackBar();
ScaffoldMessenger.of(context).showSnackBar(
SnackBar(
content: Text(