fix: exclude 'not proper' noun type from construct analytics popups

This commit is contained in:
ggurdin 2025-11-11 14:15:17 -05:00
parent f5b164b10a
commit b120f3ef84
No known key found for this signature in database
GPG key ID: A01CB41737CBB478

View file

@ -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.