Proper DI instantiation for some more download related classes

This commit is contained in:
arkon
2022-10-21 14:29:44 -04:00
parent 01e13e59e5
commit b04807e53a
10 changed files with 28 additions and 37 deletions
@@ -74,9 +74,6 @@ private data class Library(val categories: List<Category>, val mangaMap: Library
*/
typealias LibraryMap = Map<Long, List<LibraryItem>>
/**
* Presenter of [LibraryController].
*/
class LibraryPresenter(
private val state: LibraryStateImpl = LibraryState() as LibraryStateImpl,
private val getLibraryManga: GetLibraryManga = Injekt.get(),