feat: show message when no word selected (#1479)
This commit is contained in:
parent
5588d8ec16
commit
f9dce6fc11
2 changed files with 4 additions and 5 deletions
|
|
@ -4659,7 +4659,7 @@
|
|||
"myBaseLanguage": "My base language",
|
||||
"publicProfileTitle": "Allow my profile to be found in search",
|
||||
"publicProfileDesc": "By enabling this option, I confirm that I am of legal age in my country of residence",
|
||||
"clickWordsInstructions": "Click on individual words for more activities.",
|
||||
"clickWordsInstructions": "Click on a word or the buttons below to learn more",
|
||||
"chooseBestDefinition": "Choose the best definition",
|
||||
"meaningSectionHeader": "Meaning:",
|
||||
"formSectionHeader": "Forms used in chats:",
|
||||
|
|
|
|||
|
|
@ -105,10 +105,9 @@ class MessageToolbar extends StatelessWidget {
|
|||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
if (overlayController.toolbarMode == MessageMode.noneSelected ||
|
||||
![MessageTypes.Text, MessageTypes.Audio].contains(
|
||||
pangeaMessageEvent.event.messageType,
|
||||
)) {
|
||||
if (![MessageTypes.Text, MessageTypes.Audio].contains(
|
||||
pangeaMessageEvent.event.messageType,
|
||||
)) {
|
||||
return const SizedBox();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue