containersWithCount keepalive because of usages

This commit is contained in:
Fabian Freund
2025-10-02 15:47:11 +02:00
parent 821839ef8b
commit cb7047d9a9
2 changed files with 3 additions and 3 deletions
@@ -28,7 +28,7 @@ import 'package:weblibre/features/search/util/tokenized_filter.dart';
part 'providers.g.dart';
@Riverpod()
@Riverpod(keepAlive: true)
Stream<List<ContainerDataWithCount>> containersWithCount(Ref ref) {
final db = ref.watch(tabDatabaseProvider);
return db.definitionsDrift.containersWithCount().watch();
@@ -28,7 +28,7 @@ final class ContainersWithCountProvider
argument: null,
retry: null,
name: r'containersWithCountProvider',
isAutoDispose: true,
isAutoDispose: false,
dependencies: null,
$allTransitiveDependencies: null,
);
@@ -49,7 +49,7 @@ final class ContainersWithCountProvider
}
String _$containersWithCountHash() =>
r'd08294ef0def19b3401552fa9d533c9a780fa3dd';
r'757bb0102afedc07ef0f80a420b4c87cbdbed3e1';
@ProviderFor(matchSortedContainersWithCount)
const matchSortedContainersWithCountProvider =