fix: exclude 'not proper' noun type from construct analytics popups
This commit is contained in:
parent
f5b164b10a
commit
b120f3ef84
1 changed files with 8 additions and 1 deletions
|
|
@ -243,7 +243,14 @@ class GetAnalyticsController extends BaseController {
|
|||
}
|
||||
|
||||
void _onUnlockMorphLemmas(Set<ConstructIdentifier> unlocked) {
|
||||
setState({'unlocked_constructs': unlocked});
|
||||
final Set<ConstructIdentifier> excluded = {
|
||||
ConstructIdentifier(
|
||||
category: "NounType",
|
||||
lemma: "Not_proper",
|
||||
type: ConstructTypeEnum.morph,
|
||||
),
|
||||
};
|
||||
setState({'unlocked_constructs': unlocked.difference(excluded)});
|
||||
}
|
||||
|
||||
/// A local cache of eventIds and construct uses for messages sent since the last update.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue