High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix(mobile): places search not working in beta version (#20284)
Yarosf9847bee5191
diff --git a/mobile/lib/presentation/pages/drift_place.page.dart b/mobile/lib/presentation/pages/drift_place.page.dartindex 3e0754f8b8..969bfc70fd 100644--- a/mobile/lib/presentation/pages/drift_place.page.dart+++ b/mobile/lib/presentation/pages/drift_place.page.dart@@ -22,12 +22,17 @@ class DriftPlacePage extends StatelessWidget {final ValueNotifier<String?> search = ValueNotifier(null);return Scaffold(- body: CustomScrollView(- slivers: [- _PlaceSliverAppBar(search: search),- _Map(search: search, currentLocation: currentLocation),- _PlaceList(search: search),- ],+ body: ValueListenableBuilder(+ valueListenable: search,+ builder: (context, searchValue, child) {+ return CustomScrollView(+ slivers: [+ _PlaceSliverAppBar(search: search),+ _Map(search: search, currentLocation: currentLocation),+ _PlaceList(search: search),+ ],+ );+ },),);}@@ -104,7 +109,9 @@ class _Map extends StatelessWidget {),),)- : const SizedBox.shrink();+ : const SliverToBoxAdapter(+ child: SizedBox.shrink(),+ );}}