From 6554900024fd6193a0473874e7e68b8df4de4811 Mon Sep 17 00:00:00 2001 From: Secozzi <49240133+Secozzi@users.noreply.github.com> Date: Thu, 28 Sep 2023 09:56:23 +0000 Subject: [PATCH] fix(extension-info): Fix github links for readme & changelog (#1136) --- .../extension/details/AnimeExtensionDetailsScreenModel.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/extension/details/AnimeExtensionDetailsScreenModel.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/extension/details/AnimeExtensionDetailsScreenModel.kt index f843aebe5f..b839b2aca4 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/extension/details/AnimeExtensionDetailsScreenModel.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/extension/details/AnimeExtensionDetailsScreenModel.kt @@ -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") @@ -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") }