Update dependencies
This commit is contained in:
@@ -3,6 +3,7 @@ package org.koitharu.kotatsu.core.util.ext
|
|||||||
import android.annotation.SuppressLint
|
import android.annotation.SuppressLint
|
||||||
import android.content.Context
|
import android.content.Context
|
||||||
import android.content.res.Resources
|
import android.content.res.Resources
|
||||||
|
import android.os.Build
|
||||||
import androidx.annotation.PluralsRes
|
import androidx.annotation.PluralsRes
|
||||||
import androidx.annotation.Px
|
import androidx.annotation.Px
|
||||||
import androidx.core.util.TypedValueCompat
|
import androidx.core.util.TypedValueCompat
|
||||||
@@ -30,7 +31,10 @@ fun Context.getSystemBoolean(resName: String, fallback: Boolean): Boolean {
|
|||||||
fun Resources.getQuantityStringSafe(@PluralsRes resId: Int, quantity: Int, vararg formatArgs: Any): String = try {
|
fun Resources.getQuantityStringSafe(@PluralsRes resId: Int, quantity: Int, vararg formatArgs: Any): String = try {
|
||||||
getQuantityString(resId, quantity, *formatArgs)
|
getQuantityString(resId, quantity, *formatArgs)
|
||||||
} catch (e: Resources.NotFoundException) {
|
} catch (e: Resources.NotFoundException) {
|
||||||
e.report(silent = true)
|
if (Build.VERSION.SDK_INT == Build.VERSION_CODES.VANILLA_ICE_CREAM) { // known issue
|
||||||
e.printStackTraceDebug()
|
e.printStackTraceDebug()
|
||||||
formatArgs.firstOrNull()?.toString() ?: quantity.toString()
|
formatArgs.firstOrNull()?.toString() ?: quantity.toString()
|
||||||
|
} else {
|
||||||
|
throw e
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,6 @@ import org.koitharu.kotatsu.core.model.getLocalizedTitle
|
|||||||
import org.koitharu.kotatsu.core.ui.model.DateTimeAgo
|
import org.koitharu.kotatsu.core.ui.model.DateTimeAgo
|
||||||
import org.koitharu.kotatsu.parsers.model.MangaChapter
|
import org.koitharu.kotatsu.parsers.model.MangaChapter
|
||||||
|
|
||||||
@ConsistentCopyVisibility
|
|
||||||
data class ListHeader private constructor(
|
data class ListHeader private constructor(
|
||||||
private val textRaw: Any,
|
private val textRaw: Any,
|
||||||
@StringRes val buttonTextRes: Int,
|
@StringRes val buttonTextRes: Int,
|
||||||
|
|||||||
@@ -7,23 +7,23 @@ avifDecoder = "1.1.1.14d8e3c4"
|
|||||||
biometric = "1.2.0-alpha05"
|
biometric = "1.2.0-alpha05"
|
||||||
coil = "3.1.0"
|
coil = "3.1.0"
|
||||||
collections = "1.5.0"
|
collections = "1.5.0"
|
||||||
#noinspection GradleDependency - 2.5.3 cause crashes
|
#noinspection NewerVersionAvailable,GradleDependency - 2.5.3 cause crashes
|
||||||
conscrypt = "2.5.2"
|
conscrypt = "2.5.2"
|
||||||
constraintlayout = "2.2.1"
|
constraintlayout = "2.2.1"
|
||||||
coreKtx = "1.15.0"
|
coreKtx = "1.15.0"
|
||||||
coroutines = "1.10.1"
|
coroutines = "1.10.1"
|
||||||
desugar = "2.1.5"
|
desugar = "2.1.5"
|
||||||
diskLruCache = "1.4"
|
diskLruCache = "1.5"
|
||||||
fragment = "1.8.6"
|
fragment = "1.8.6"
|
||||||
gradle = "8.8.2"
|
gradle = "8.9.0"
|
||||||
guava = "33.3.1-android"
|
guava = "33.4.5-android"
|
||||||
dagger = "2.55"
|
dagger = "2.56"
|
||||||
hilt = "1.2.0"
|
hilt = "1.2.0"
|
||||||
json = "20250107"
|
json = "20250107"
|
||||||
junit = "4.13.2"
|
junit = "4.13.2"
|
||||||
junitKtx = "1.2.1"
|
junitKtx = "1.2.1"
|
||||||
kotlin = "2.1.10"
|
kotlin = "2.1.20"
|
||||||
ksp = "2.1.10-1.0.29"
|
ksp = "2.1.20-1.0.31"
|
||||||
leakcanary = "3.0-alpha-8"
|
leakcanary = "3.0-alpha-8"
|
||||||
lifecycle = "2.8.7"
|
lifecycle = "2.8.7"
|
||||||
markwon = "4.6.2"
|
markwon = "4.6.2"
|
||||||
@@ -31,7 +31,7 @@ material = "1.13.0-alpha11"
|
|||||||
moshi = "1.15.2"
|
moshi = "1.15.2"
|
||||||
okhttp = "4.12.0"
|
okhttp = "4.12.0"
|
||||||
okio = "3.10.2"
|
okio = "3.10.2"
|
||||||
parsers = "5420290564"
|
parsers = "bebc615376"
|
||||||
preference = "1.2.1"
|
preference = "1.2.1"
|
||||||
recyclerview = "1.4.0"
|
recyclerview = "1.4.0"
|
||||||
room = "2.6.1"
|
room = "2.6.1"
|
||||||
|
|||||||
Reference in New Issue
Block a user