mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
Added autodispose
This commit is contained in:
parent
1ffd196b14
commit
1c8c1e274f
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ final searchPageStateProvider = StateNotifierProvider<SearchPageStateNotifier, S
|
||||||
return SearchPageStateNotifier();
|
return SearchPageStateNotifier();
|
||||||
});
|
});
|
||||||
|
|
||||||
final getCuratedLocationProvider = FutureProvider<List<CuratedLocation>>((ref) async {
|
final getCuratedLocationProvider = FutureProvider.autoDispose<List<CuratedLocation>>((ref) async {
|
||||||
final SearchService _searchService = SearchService();
|
final SearchService _searchService = SearchService();
|
||||||
|
|
||||||
var curatedLocation = await _searchService.getCuratedLocation();
|
var curatedLocation = await _searchService.getCuratedLocation();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue