mirror of
https://github.com/ente-io/ente.git
synced 2025-08-05 05:24:26 +00:00
## Description Removed use of `asyncLoader` in `DetailPage` and instead, all files in gallery is now stored in an inherited widget (`GalleryFilesState`) and `DetailPage` uses that list of files instead of fetching from DB using `asyncLoader`. This 'all files' list reflects all changes in gallery (as observed when testing) so there is no issue of the list being out of sync with gallery. Where ever possible, `GalleryFilesState` has been wrapped around the `Scaffold` of galleries, so that all files are accessible to all ancestors of a gallery's `Scaffold`, which could come useful in the future.