Skip to content

Commit

Permalink
Remove some logs
Browse files Browse the repository at this point in the history
  • Loading branch information
nonproto committed Nov 12, 2024
1 parent 29c588e commit 60d7b7e
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import org.nekomanga.core.network.ProxyRetrofitQueryMap
import org.nekomanga.domain.manga.MangaContentRating
import org.nekomanga.domain.manga.SourceManga
import org.nekomanga.domain.network.ResultError
import org.nekomanga.logging.TimberKt
import uy.kohesive.injekt.Injekt
import uy.kohesive.injekt.api.get
import uy.kohesive.injekt.injectLazy
Expand Down Expand Up @@ -63,7 +62,6 @@ class ListHandler {
allMangaIds.subList(initial, end)
}
}
TimberKt.d { "ESCO ${mangaIds.firstOrNull()}" }

val enabledContentRatings =
preferencesHelper.contentRatingSelections().get()
Expand All @@ -84,7 +82,6 @@ class ListHandler {
.search(ProxyRetrofitQueryMap(queryParameters))
.getOrResultError("Error trying to load manga list")
.andThen { mangaListDto ->
TimberKt.d { "ESCO ${mangaListDto.data.firstOrNull()?.id}" }
Ok(
ListResults(
displayScreenType =
Expand Down Expand Up @@ -112,7 +109,6 @@ class ListHandler {
listUUID: String,
privateList: Boolean,
): Result<ListResults, ResultError> {
TimberKt.d { "ESCO retrieveAllMangaFromList Called" }
var hasPages = true
var page = 1
var list: List<SourceManga> = listOf()
Expand All @@ -127,10 +123,6 @@ class ListHandler {
.onSuccess { successResult ->
page++
hasPages = successResult.hasNextPage
TimberKt.d { "ESCO retrieveAllMangaFromList list size ${list.size}" }
TimberKt.d {
"ESCO successResult ${successResult.sourceManga.firstOrNull()?.title}"
}
list = list + (successResult.sourceManga.toMutableList())
displayScreenType = successResult.displayScreenType
}
Expand Down

0 comments on commit 60d7b7e

Please sign in to comment.