mihon/app/src/main/java/eu/kanade/tachiyomi/ui/manga
E3FxGaming fcd6fe5d8a
Fix Cover sharing and saving (#5335)
* Fix Cover sharing and saving

The newly added manga cover sharing only worked with manga saved to the library (due to the implemented CoverCache only recording covers of library manga).
The changes made with this commit fixes that behaviour by implementing a fallback: the cover can now also be retrieved from the Coil memoryCache.

* Removal of coil MemoryKey usage

No longer uses the coil memory key, instead starts a new Coil request for the cover retrieval.

* Removed try-/catch-wrapper and added context-passing

useCoverAsBitmap lost its try-/catch-wrapper and doesn't call for the context anymore.
Instead shareCover and saveCover now pass their activity as context to useCoverAsBitmap.

* Added missing parameter description for useCoverAsBitmap
2021-07-18 13:17:31 -04:00
..
chapter Replace material-dialogs usage with Material Components' (#5423) 2021-07-14 18:04:03 -04:00
info Add cover actions to a dialog when long-pressing manga cover (#5556) 2021-07-15 17:28:35 -04:00
track Put Komga tracker in separate group 2021-07-18 12:55:55 -04:00
MangaController.kt Fix Cover sharing and saving (#5335) 2021-07-18 13:17:31 -04:00
MangaPresenter.kt Fix Cover sharing and saving (#5335) 2021-07-18 13:17:31 -04:00