chore(mobile): clean up linter problems (#1000)

This commit is contained in:
Alex
2022-11-21 06:13:14 -06:00
committed by GitHub
parent bc9ee1d611
commit 39b7ab66d4
32 changed files with 188 additions and 173 deletions

View File

@@ -15,14 +15,16 @@ class AlbumPreviewPage extends HookConsumerWidget {
Widget build(BuildContext context, WidgetRef ref) {
final assets = useState<List<AssetEntity>>([]);
_getAssetsInAlbum() async {
getAssetsInAlbum() async {
assets.value = await album.getAssetListRange(
start: 0, end: await album.assetCountAsync);
start: 0,
end: await album.assetCountAsync,
);
}
useEffect(
() {
_getAssetsInAlbum();
getAssetsInAlbum();
return null;
},
[],