feat: italicize questions, don't give lemma activity if lemma and form are the same (#1349)
This commit is contained in:
parent
14a1ae2287
commit
d652983e16
2 changed files with 3 additions and 2 deletions
|
|
@ -213,7 +213,8 @@ class PangeaToken {
|
|||
case ActivityTypeEnum.wordMeaning:
|
||||
return canBeDefined;
|
||||
case ActivityTypeEnum.lemmaId:
|
||||
return lemma.saveVocab;
|
||||
return lemma.saveVocab &&
|
||||
text.content.toLowerCase() != lemma.text.toLowerCase();
|
||||
case ActivityTypeEnum.emoji:
|
||||
return true;
|
||||
case ActivityTypeEnum.morphId:
|
||||
|
|
|
|||
|
|
@ -197,7 +197,7 @@ class MultipleChoiceActivityState extends State<MultipleChoiceActivity> {
|
|||
style: AppConfig.messageTextStyle(
|
||||
widget.event,
|
||||
Theme.of(context).colorScheme.primary,
|
||||
),
|
||||
).merge(const TextStyle(fontStyle: FontStyle.italic)),
|
||||
),
|
||||
const SizedBox(height: 8),
|
||||
if (practiceActivity.activityType ==
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue