From 9be71f603e4f9cea1d66608f27a632c5d4d152bb Mon Sep 17 00:00:00 2001 From: Matthias Rupp <matthias.rupp@posteo.de> Date: Fri, 27 Jan 2023 20:08:05 +0100 Subject: [PATCH] fix(mobile): Fix endless 'Building timeline' loop after changing the number of assets per row (#1445) --- .../ui/asset_list_settings/asset_list_tiles_per_row.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/mobile/lib/modules/settings/ui/asset_list_settings/asset_list_tiles_per_row.dart b/mobile/lib/modules/settings/ui/asset_list_settings/asset_list_tiles_per_row.dart index dde68a4a3e..80b18ca96c 100644 --- a/mobile/lib/modules/settings/ui/asset_list_settings/asset_list_tiles_per_row.dart +++ b/mobile/lib/modules/settings/ui/asset_list_settings/asset_list_tiles_per_row.dart @@ -24,6 +24,7 @@ class TilesPerRow extends HookConsumerWidget { void sliderChangedEnd(double _) { ref.invalidate(assetProvider); + ref.watch(assetProvider.notifier).getAllAsset(); } useEffect(