Use consistent extension icon URLs

Better caching between versions.

(cherry picked from commit 30f845139d76762798e2cdec7804a38806c3eeca)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/extension/api/ExtensionGithubApi.kt
(cherry picked from commit 01e0c3c0401daec57e565b5bf5341e45f78c98d5)
This commit is contained in:
arkon 2023-07-16 15:44:36 -04:00 committed by Jobobby04
parent 18d3615e6f
commit c2963709cd

View File

@ -151,7 +151,7 @@ internal class ExtensionGithubApi {
hasChangelog = it.hasChangelog == 1,
sources = it.sources?.toExtensionSources() ?: emptyList(),
apkName = it.apk,
iconUrl = "${/* SY --> */ repoUrl /* SY <-- */}icon/${it.apk.replace(".apk", ".png")}",
iconUrl = "${/* SY --> */ repoUrl /* SY <-- */}icon/${it.pkg}.png",
// SY -->
repoUrl = repoUrl,
isRepoSource = repoSource,