Uses lowercase versions of lemma/form when comparing (#3346)
This commit is contained in:
parent
66e4cbc6af
commit
4858e06295
1 changed files with 2 additions and 1 deletions
|
|
@ -214,7 +214,8 @@ class WordZoomWidget extends StatelessWidget {
|
|||
GestureDetector(
|
||||
onLongPress: () => controller.toggleEditMode(true),
|
||||
onDoubleTap: () => controller.toggleEditMode(true),
|
||||
child: token.lemma.text == token.text.content
|
||||
child: token.lemma.text.toLowerCase() ==
|
||||
token.text.content.toLowerCase()
|
||||
? Text(
|
||||
controller.lemmaInfo!.meaning,
|
||||
style: const TextStyle(fontSize: 14.0),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue