aniyomi/app/src/test/java/eu/kanade/tachiyomi
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
..
data Fix Cover sharing and saving (#5335) 2021-07-18 13:17:31 -04:00
CustomRobolectricGradleTestRunner.kt Run linter 2020-02-26 18:03:34 -05:00
TestApp.kt Migrate to WorkManager 2020-03-01 13:22:16 -05:00