diff --git a/packages/neon_framework/lib/src/blocs/apps.dart b/packages/neon_framework/lib/src/blocs/apps.dart index a22077efa48..e7f6d0f8c57 100644 --- a/packages/neon_framework/lib/src/blocs/apps.dart +++ b/packages/neon_framework/lib/src/blocs/apps.dart @@ -1,6 +1,7 @@ import 'dart:async'; import 'package:built_collection/built_collection.dart'; +import 'package:collection/collection.dart'; import 'package:flutter/foundation.dart'; import 'package:meta/meta.dart'; import 'package:neon_framework/src/bloc/bloc.dart'; @@ -212,8 +213,12 @@ class _AppsBloc extends InteractiveBloc implements AppsBloc { return null; } - BuiltSet filteredAppImplementations(Iterable appIds) => - BuiltSet(allAppImplementations.where((a) => appIds.contains(a.id))); + BuiltSet filteredAppImplementations(Iterable appIds) => BuiltSet( + allAppImplementations.where( + (a) => + appIds.contains(a.id) || a.additionalMatchingIDs?.firstWhereOrNull((id) => appIds.contains(id)) != null, + ), + ); final CapabilitiesBloc capabilitiesBloc; final AccountsBloc accountsBloc; diff --git a/packages/neon_framework/lib/src/models/app_implementation.dart b/packages/neon_framework/lib/src/models/app_implementation.dart index 1b88abc5434..09d254fb59a 100644 --- a/packages/neon_framework/lib/src/models/app_implementation.dart +++ b/packages/neon_framework/lib/src/models/app_implementation.dart @@ -1,5 +1,6 @@ import 'dart:async'; +import 'package:built_collection/built_collection.dart'; import 'package:flutter/material.dart'; import 'package:go_router/go_router.dart'; import 'package:meta/meta.dart'; @@ -11,7 +12,6 @@ import 'package:neon_framework/src/models/account_cache.dart'; import 'package:neon_framework/src/models/disposable.dart'; import 'package:neon_framework/src/settings/models/options_collection.dart'; import 'package:neon_framework/src/storage/keys.dart'; - import 'package:neon_framework/src/utils/findable.dart'; import 'package:neon_framework/src/utils/provider.dart'; import 'package:neon_framework/src/widgets/drawer_destination.dart'; @@ -34,6 +34,12 @@ abstract class AppImplementation? get additionalMatchingIDs => null; + /// {@macro flutter.widgets.widgetsApp.localizationsDelegates} LocalizationsDelegate get localizationsDelegate;