High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix(mobile): fix endless rendering of asset grid when scrolling (#3010)
Fynn Petersen-Frey1ab05e8de02a
diff --git a/mobile/lib/modules/home/ui/asset_grid/immich_asset_grid_view.dart b/mobile/lib/modules/home/ui/asset_grid/immich_asset_grid_view.dartindex 691a5b27f4..2686afeac2 100644--- a/mobile/lib/modules/home/ui/asset_grid/immich_asset_grid_view.dart+++ b/mobile/lib/modules/home/ui/asset_grid/immich_asset_grid_view.dart@@ -272,11 +272,7 @@ class ImmichAssetGridViewState extends State<ImmichAssetGridView> {Widget _buildAssetGrid() {final useDragScrolling = widget.renderList.totalAssets >= 20;- void dragScrolling(bool active) {- setState(() {- _scrolling = active;- });- }+ void dragScrolling(bool active) => _scrolling = active;final listWidget = ScrollablePositionedList.builder(padding: const EdgeInsets.only(@@ -302,7 +298,6 @@ class ImmichAssetGridViewState extends State<ImmichAssetGridView> {child: listWidget,): listWidget;-return widget.onRefresh == null? child: RefreshIndicator(onRefresh: widget.onRefresh!, child: child);