mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-14 16:45:06 +01:00
Update to Kotlin 1.4.21 and kotlinter 3.3.0
This commit is contained in:
parent
2bb7a33bc3
commit
59859e124f
@ -72,7 +72,9 @@ class LibraryUpdateService(
|
||||
*/
|
||||
enum class Target {
|
||||
CHAPTERS, // Manga chapters
|
||||
|
||||
COVERS, // Manga covers
|
||||
|
||||
TRACKING // Tracking metadata
|
||||
}
|
||||
|
||||
|
@ -132,7 +132,8 @@ class MyAnimeList(private val context: Context, id: Int) : TrackService(id) {
|
||||
private fun checkCookies(): Boolean {
|
||||
val url = BASE_URL.toHttpUrlOrNull()!!
|
||||
val ckCount = networkService.cookieManager.get(url).count {
|
||||
it.name == USER_SESSION_COOKIE || it.name == LOGGED_IN_COOKIE }
|
||||
it.name == USER_SESSION_COOKIE || it.name == LOGGED_IN_COOKIE
|
||||
}
|
||||
|
||||
return ckCount == 2
|
||||
}
|
||||
|
@ -40,6 +40,7 @@ internal object ExtensionLoader {
|
||||
|
||||
// inorichi's key
|
||||
private const val officialSignature = "7ce04da7773d41b489f4693a366c36bcd0a11fc39b547168553c285bd7348e23"
|
||||
|
||||
/**
|
||||
* List of the trusted signatures.
|
||||
*/
|
||||
|
@ -23,6 +23,7 @@ class WebtoonAdapter(val viewer: WebtoonViewer) : RecyclerView.Adapter<RecyclerV
|
||||
private set
|
||||
|
||||
var currentChapter: ReaderChapter? = null
|
||||
|
||||
/**
|
||||
* Updates this adapter with the given [chapters]. It handles setting a few pages of the
|
||||
* next/previous chapter to allow seamless transitions.
|
||||
|
@ -1,7 +1,7 @@
|
||||
object BuildPluginsVersion {
|
||||
const val AGP = "4.1.1"
|
||||
const val KOTLIN = "1.4.20"
|
||||
const val KOTLINTER = "3.0.2"
|
||||
const val KOTLIN = "1.4.21"
|
||||
const val KOTLINTER = "3.3.0"
|
||||
const val VERSIONS_PLUGIN = "0.36.0"
|
||||
const val ABOUTLIB_PLUGIN = "8.6.3"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user