Respect system DataSaver

This commit is contained in:
Koitharu
2023-05-24 14:27:04 +03:00
parent dc358ae6a2
commit 47f346b42c
3 changed files with 28 additions and 10 deletions

View File

@@ -74,7 +74,7 @@ class PageLoader @Inject constructor(
}
fun isPrefetchApplicable(): Boolean {
return repository is RemoteMangaRepository && settings.isPagesPreloadEnabled()
return repository is RemoteMangaRepository && settings.isPagesPreloadEnabled
}
@AnyThread