containersWithCount keepalive because of usages
This commit is contained in:
@@ -28,7 +28,7 @@ import 'package:weblibre/features/search/util/tokenized_filter.dart';
|
|||||||
|
|
||||||
part 'providers.g.dart';
|
part 'providers.g.dart';
|
||||||
|
|
||||||
@Riverpod()
|
@Riverpod(keepAlive: true)
|
||||||
Stream<List<ContainerDataWithCount>> containersWithCount(Ref ref) {
|
Stream<List<ContainerDataWithCount>> containersWithCount(Ref ref) {
|
||||||
final db = ref.watch(tabDatabaseProvider);
|
final db = ref.watch(tabDatabaseProvider);
|
||||||
return db.definitionsDrift.containersWithCount().watch();
|
return db.definitionsDrift.containersWithCount().watch();
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ final class ContainersWithCountProvider
|
|||||||
argument: null,
|
argument: null,
|
||||||
retry: null,
|
retry: null,
|
||||||
name: r'containersWithCountProvider',
|
name: r'containersWithCountProvider',
|
||||||
isAutoDispose: true,
|
isAutoDispose: false,
|
||||||
dependencies: null,
|
dependencies: null,
|
||||||
$allTransitiveDependencies: null,
|
$allTransitiveDependencies: null,
|
||||||
);
|
);
|
||||||
@@ -49,7 +49,7 @@ final class ContainersWithCountProvider
|
|||||||
}
|
}
|
||||||
|
|
||||||
String _$containersWithCountHash() =>
|
String _$containersWithCountHash() =>
|
||||||
r'd08294ef0def19b3401552fa9d533c9a780fa3dd';
|
r'757bb0102afedc07ef0f80a420b4c87cbdbed3e1';
|
||||||
|
|
||||||
@ProviderFor(matchSortedContainersWithCount)
|
@ProviderFor(matchSortedContainersWithCount)
|
||||||
const matchSortedContainersWithCountProvider =
|
const matchSortedContainersWithCountProvider =
|
||||||
|
|||||||
Reference in New Issue
Block a user