Skip to content

Commit

Permalink
use packagename based extension icons
Browse files Browse the repository at this point in the history
  • Loading branch information
az4521 committed Jan 9, 2024
1 parent 72966b7 commit 76f2e02
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ internal class ExtensionGithubApi {
val lang = element.jsonObject["lang"]!!.jsonPrimitive.content
val nsfw = element.jsonObject["nsfw"]!!.jsonPrimitive.int == 1
// SY -->
val icon = "${repoUrl}icon/${apkName.replace(".apk", ".png")}"
val icon = "${repoUrl}icon/$pkgName.png"
// SY <--

Extension.Available(name, pkgName, versionName, versionCode, libVersion, lang, nsfw, apkName, icon /* SY --> */, repoUrl /* SY <-- */)
Expand Down

0 comments on commit 76f2e02

Please sign in to comment.