fix(mobile): Fix endless 'Building timeline' loop after changing the number of assets per row (#1445)

This commit is contained in:
Matthias Rupp 2023-01-27 20:08:05 +01:00 committed by GitHub
parent d354b38139
commit 9be71f603e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,6 +24,7 @@ class TilesPerRow extends HookConsumerWidget {
void sliderChangedEnd(double _) { void sliderChangedEnd(double _) {
ref.invalidate(assetProvider); ref.invalidate(assetProvider);
ref.watch(assetProvider.notifier).getAllAsset();
} }
useEffect( useEffect(