chore: add instruction to empty reading assistance input bar (#2581)
This commit is contained in:
parent
db55e1057c
commit
907bca298b
2 changed files with 10 additions and 3 deletions
|
|
@ -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"
|
||||
}
|
||||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue