mirror of
https://github.com/Suwayomi/Suwayomi-Server.git
synced 2026-07-14 00:04: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(
|
||||
pkgName: String,
|
||||
inputStream: InputStream,
|
||||
|
||||
Reference in New Issue
Block a user