chore: in reading asssitance input bar, if all practice activities for message are completed, show all done message (#4183)
This commit is contained in:
parent
a51870ccec
commit
b159bfe1c9
1 changed files with 13 additions and 9 deletions
|
|
@ -54,15 +54,19 @@ class ReadingAssistanceInputBarState extends State<ReadingAssistanceInputBar> {
|
|||
case MessageMode.wordZoom:
|
||||
case MessageMode.noneSelected:
|
||||
case MessageMode.messageMeaning:
|
||||
//TODO: show all emojis for the lemmas and allow sending normal reactions
|
||||
content = Text(
|
||||
L10n.of(context).choosePracticeMode,
|
||||
style: Theme.of(context)
|
||||
.textTheme
|
||||
.bodyLarge
|
||||
?.copyWith(fontStyle: FontStyle.italic),
|
||||
textAlign: TextAlign.center,
|
||||
);
|
||||
content = overlayController.isTotallyDone
|
||||
? Text(
|
||||
L10n.of(context).allDone,
|
||||
textAlign: TextAlign.center,
|
||||
)
|
||||
: Text(
|
||||
L10n.of(context).choosePracticeMode,
|
||||
style: Theme.of(context)
|
||||
.textTheme
|
||||
.bodyLarge
|
||||
?.copyWith(fontStyle: FontStyle.italic),
|
||||
textAlign: TextAlign.center,
|
||||
);
|
||||
|
||||
case MessageMode.messageTranslation:
|
||||
if (overlayController.isTranslationUnlocked) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue