Skip to content

Commit

Permalink
fix(extension-info): Fix github links for readme & changelog (#1136)
Browse files Browse the repository at this point in the history
  • Loading branch information
Secozzi authored Sep 28, 2023
1 parent 1cea328 commit 6554900
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class AnimeExtensionDetailsScreenModel(
fun getChangelogUrl(): String {
val extension = state.value.extension ?: return ""

val pkgName = extension.pkgName.substringAfter("eu.kanade.tachiyomi.extension.")
val pkgName = extension.pkgName.substringAfter("eu.kanade.tachiyomi.animeextension.")
val pkgFactory = extension.pkgFactory
if (extension.hasChangelog) {
return createUrl(URL_EXTENSION_BLOB, pkgName, pkgFactory, "/CHANGELOG.md")
Expand All @@ -105,7 +105,7 @@ class AnimeExtensionDetailsScreenModel(
return "https://aniyomi.org/help/faq/#extensions"
}

val pkgName = extension.pkgName.substringAfter("eu.kanade.tachiyomi.extension.")
val pkgName = extension.pkgName.substringAfter("eu.kanade.tachiyomi.animeextension.")
val pkgFactory = extension.pkgFactory
return createUrl(URL_EXTENSION_BLOB, pkgName, pkgFactory, "/README.md")
}
Expand Down

0 comments on commit 6554900

Please sign in to comment.