chore: add instruction to empty reading assistance input bar (#2581)

This commit is contained in:
ggurdin 2025-04-29 13:18:49 -04:00 committed by GitHub
parent db55e1057c
commit 907bca298b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 3 deletions

View file

@ -4877,5 +4877,6 @@
"newVocab": "New vocab",
"newGrammar": "New grammar concepts",
"congratulationsOnReaching": "Congratulations on reaching ",
"seeDetails": "See Details"
"seeDetails": "See Details",
"choosePracticeMode": "Choose a practice mode"
}

View file

@ -51,7 +51,13 @@ class ReadingAssistanceInputBar extends StatelessWidget {
case MessageMode.noneSelected:
case MessageMode.messageMeaning:
//TODO: show all emojis for the lemmas and allow sending normal reactions
return ReactionsPicker(controller);
content = Text(
L10n.of(context).choosePracticeMode,
style: Theme.of(context)
.textTheme
.bodyLarge
?.copyWith(fontStyle: FontStyle.italic),
);
case MessageMode.messageTranslation:
if (overlayController.isTranslationUnlocked) {
@ -72,7 +78,7 @@ class ReadingAssistanceInputBar extends StatelessWidget {
overlayController: overlayController,
);
} else {
content = const Text("All done!");
content = Text(L10n.of(context).allDone);
}
case MessageMode.wordMorph:
if (target != null) {