diff --git a/lib/pages/welcome.dart b/lib/pages/welcome.dart index cf1e85b..017fedc 100644 --- a/lib/pages/welcome.dart +++ b/lib/pages/welcome.dart @@ -434,7 +434,14 @@ class _OnboardingChecklistState extends State<_OnboardingChecklist> { .catchError((_) => false); final module = hub .listModules() - .then((m) => m.any((x) => x.name.startsWith('text.'))) + // ModuleSummary.name is the module identifier + // (e.g. `text-extract`, with a hyphen). The Onboarding- + // Hinweis fragt nach einem Text-Modul — das ist auf + // Capability-Ebene das `text.*`-Präfix (mit Punkt). + // Vorher haben wir den Modul-Namen geprüft und damit + // nie gematcht, obwohl text-extract / text-summarize / + // text-translate installiert waren. + .then((m) => m.any((x) => x.capabilities.any((c) => c.startsWith('text.')))) .catchError((_) => false); final flow = hub .recentEvents(limit: 100)