refactor: grid

This commit is contained in:
shenlong-tanwen
2024-09-22 18:12:18 +05:30
parent e810512285
commit 9f29bce308
6 changed files with 120 additions and 98 deletions
@@ -41,6 +41,10 @@ class RenderListDriftRepository with LogMixin implements IRenderListRepository {
];
})
.watch()
.map((elements) => RenderList(elements: elements));
.map((elements) {
// Resets the value in closure so the watch refresh will work properly
lastAssetOffset = 0;
return RenderList(elements: elements);
});
}
}