fix(word_zoom_widget): hide text.content.text if same as lemma.text (#2883)
* fix(word_zoom_widget): hide text.content.text if same as lemma.text * chore: formatting --------- Co-authored-by: ggurdin <ggurdin@gmail.com>
This commit is contained in:
parent
82d78452e0
commit
264e46ef3a
1 changed files with 2 additions and 1 deletions
|
|
@ -166,7 +166,8 @@ class WordZoomWidget extends StatelessWidget {
|
|||
crossAxisAlignment: WrapCrossAlignment.center,
|
||||
spacing: 8.0,
|
||||
children: [
|
||||
...[
|
||||
if (token.text.content.toLowerCase() !=
|
||||
token.lemma.text.toLowerCase()) ...[
|
||||
Text(
|
||||
_selectedToken.text.content,
|
||||
style: Theme.of(context).textTheme.bodyLarge,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue