Skip to content

Commit

Permalink
Merge pull request #28 from LuftVerbot/DataSaver
Browse files Browse the repository at this point in the history
fuck lint
  • Loading branch information
LuftVerbot authored Jul 24, 2023
2 parents 63c7736 + 1148f3c commit 7048b7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class GetEnabledMangaSources(
}
// SY -->
categories.forEach { category ->
toFlatten.add(source.copy(/*category = category,*/ pin = source.pin - Pin.Actual))
toFlatten.add(source.copy(pin = source.pin - Pin.Actual))
}
if (sourceCategoriesFilter && Pin.Actual !in toFlatten[0].pin && source.id in sourcesInSourceCategories) {
toFlatten.removeAt(0)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -311,8 +311,7 @@ abstract class HttpSource : CatalogueSource {
*
* @param page the page whose source image has to be downloaded.
*/
/* SY --> */
open /* SY <-- */ suspend fun getImage(page: Page): Response {
open suspend fun getImage(page: Page): Response {
// images will be cached or saved manually, so don't take up network cache
return client.newCachelessCallWithProgress(imageRequest(page), page)
.awaitSuccess()
Expand Down

0 comments on commit 7048b7e

Please sign in to comment.