mihon/app
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
..
src Fix Cover sharing and saving (#5335) 2021-07-18 13:17:31 -04:00
.gitignore Move google-services.json 2020-04-29 17:56:05 -04:00
build.gradle.kts Fix splash screen icon on Android 12 (#5565) 2021-07-17 12:06:15 -04:00
proguard-android-optimize.txt Reinstate Proguard/R8 (#5134) 2021-05-22 14:47:40 -04:00
proguard-rules.pro Fix missing Injekt method crash (fixes #7355) 2021-05-31 19:34:54 -04:00
shortcuts.xml Remove more unused strings 2021-05-30 11:10:16 -04:00