mirror of
https://github.com/immich-app/immich.git
synced 2025-08-11 09:16:31 -04:00
temporary change for stress test
This commit is contained in:
parent
2749204b4f
commit
fb510e9853
@ -134,8 +134,10 @@ class _DriftMapState extends ConsumerState<DriftMap> {
|
||||
AsyncValue<Map<String, dynamic>> allMarkers =
|
||||
ref.watch(mapMarkerProvider(null));
|
||||
|
||||
ref.listen(mapStateProvider, (previous, next) async {
|
||||
ref.listen(mapStateProvider, (_, __) async {
|
||||
if (!loadAllMarkers) {
|
||||
markers = ref.watch(mapMarkerProvider(bounds));
|
||||
}
|
||||
});
|
||||
|
||||
markers.whenData((markers) => reloadMarkers(markers));
|
||||
|
Loading…
x
Reference in New Issue
Block a user