mirror of
https://github.com/Suwayomi/Suwayomi-Server.git
synced 2026-07-14 08:14:34 -05:00
Delete unused function
This commit is contained in:
@@ -480,18 +480,6 @@ object Extension {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun extractAndCacheJarIcon(
|
|
||||||
zipFile: ZipFile,
|
|
||||||
pkgName: String,
|
|
||||||
) {
|
|
||||||
try {
|
|
||||||
val iconStream = ResourceArscIconParser.extractIcon(zipFile)
|
|
||||||
cacheIcon(pkgName, iconStream)
|
|
||||||
} catch (e: Exception) {
|
|
||||||
logger.warn(e) { "Failed to extract icon from JAR $pkgName" }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private fun cacheIcon(
|
private fun cacheIcon(
|
||||||
pkgName: String,
|
pkgName: String,
|
||||||
inputStream: InputStream,
|
inputStream: InputStream,
|
||||||
|
|||||||
Reference in New Issue
Block a user