diff --git a/lib/pages/welcome.dart b/lib/pages/welcome.dart index 1782d45..235893c 100644 --- a/lib/pages/welcome.dart +++ b/lib/pages/welcome.dart @@ -551,15 +551,16 @@ class _OnboardingChecklistState extends State<_OnboardingChecklist> { .catchError((_) => false); final module = hub .listModules() - // 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. + // "A module is installed" = any installed module providing a + // non-built-in capability. We match on the capability rather + // than the module name (which is hyphenated, e.g. + // `text-extract`), and accept ANY provider — so the doc'd + // first install of `debug.echo` ticks the box, not just + // `text.*`. `system.*` are built-ins, not installs. .then( - (m) => m.any((x) => x.capabilities.any((c) => c.startsWith('text.'))), + (m) => m.any( + (x) => x.capabilities.any((c) => !c.startsWith('system.')), + ), ) .catchError((_) => false); final flow = hub