Add UnmeteredSource interface

To be included in extension-lib 1.3 (or whatever it's going to be). This applies to sources like Komga or Lanragi, where large numbers of update/download aren't of concern since they're (usually) self-hosted.
This commit is contained in:
arkon
2021-11-28 14:41:03 -05:00
parent e1a43d2e7d
commit 3ea3b0bf2e
4 changed files with 20 additions and 3 deletions

View File

@@ -38,7 +38,8 @@ import java.util.Locale
import java.util.concurrent.TimeUnit
import java.util.zip.ZipFile
class LocalSource(private val context: Context) : CatalogueSource {
class LocalSource(private val context: Context) : CatalogueSource, UnmeteredSource {
companion object {
const val ID = 0L
const val HELP_URL = "https://tachiyomi.org/help/guides/local-manga/"