From 2c11cbfcd56eef5ac07710831014f412dd519e88 Mon Sep 17 00:00:00 2001 From: HaruSasaki <73406832+HaruSasaki@users.noreply.github.com> Date: Thu, 15 Jul 2021 20:47:06 +0700 Subject: [PATCH] Komikindoid fix (#8124) * Update KomikIndoID.kt * update icon path * update icon path * remove old icon * Update build.gradle --- src/id/komikindoid/build.gradle | 4 ++-- .../{drawable-hdpi => mipmap-hdpi}/ic_launcher.png | Bin .../{drawable-mdpi => mipmap-mdpi}/ic_launcher.png | Bin .../ic_launcher.png | Bin .../ic_launcher.png | Bin .../ic_launcher.png | Bin .../extension/id/komikindoid/KomikIndoID.kt | 2 +- 7 files changed, 3 insertions(+), 3 deletions(-) rename src/id/komikindoid/res/{drawable-hdpi => mipmap-hdpi}/ic_launcher.png (100%) rename src/id/komikindoid/res/{drawable-mdpi => mipmap-mdpi}/ic_launcher.png (100%) rename src/id/komikindoid/res/{drawable-xhdpi => mipmap-xhdpi}/ic_launcher.png (100%) rename src/id/komikindoid/res/{drawable-xxhdpi => mipmap-xxhdpi}/ic_launcher.png (100%) rename src/id/komikindoid/res/{drawable-xxxhdpi => mipmap-xxxhdpi}/ic_launcher.png (100%) diff --git a/src/id/komikindoid/build.gradle b/src/id/komikindoid/build.gradle index dd59cce0b..ccee3d54e 100644 --- a/src/id/komikindoid/build.gradle +++ b/src/id/komikindoid/build.gradle @@ -5,8 +5,8 @@ ext { extName = 'KomikIndoID' pkgNameSuffix = 'id.komikindoid' extClass = '.KomikIndoID' - extVersionCode = 1 + extVersionCode = 2 libVersion = '1.2' } -apply from: "$rootDir/common.gradle" \ No newline at end of file +apply from: "$rootDir/common.gradle" diff --git a/src/id/komikindoid/res/drawable-hdpi/ic_launcher.png b/src/id/komikindoid/res/mipmap-hdpi/ic_launcher.png similarity index 100% rename from src/id/komikindoid/res/drawable-hdpi/ic_launcher.png rename to src/id/komikindoid/res/mipmap-hdpi/ic_launcher.png diff --git a/src/id/komikindoid/res/drawable-mdpi/ic_launcher.png b/src/id/komikindoid/res/mipmap-mdpi/ic_launcher.png similarity index 100% rename from src/id/komikindoid/res/drawable-mdpi/ic_launcher.png rename to src/id/komikindoid/res/mipmap-mdpi/ic_launcher.png diff --git a/src/id/komikindoid/res/drawable-xhdpi/ic_launcher.png b/src/id/komikindoid/res/mipmap-xhdpi/ic_launcher.png similarity index 100% rename from src/id/komikindoid/res/drawable-xhdpi/ic_launcher.png rename to src/id/komikindoid/res/mipmap-xhdpi/ic_launcher.png diff --git a/src/id/komikindoid/res/drawable-xxhdpi/ic_launcher.png b/src/id/komikindoid/res/mipmap-xxhdpi/ic_launcher.png similarity index 100% rename from src/id/komikindoid/res/drawable-xxhdpi/ic_launcher.png rename to src/id/komikindoid/res/mipmap-xxhdpi/ic_launcher.png diff --git a/src/id/komikindoid/res/drawable-xxxhdpi/ic_launcher.png b/src/id/komikindoid/res/mipmap-xxxhdpi/ic_launcher.png similarity index 100% rename from src/id/komikindoid/res/drawable-xxxhdpi/ic_launcher.png rename to src/id/komikindoid/res/mipmap-xxxhdpi/ic_launcher.png diff --git a/src/id/komikindoid/src/eu/kanade/tachiyomi/extension/id/komikindoid/KomikIndoID.kt b/src/id/komikindoid/src/eu/kanade/tachiyomi/extension/id/komikindoid/KomikIndoID.kt index 96651d6c2..c0df1ed21 100644 --- a/src/id/komikindoid/src/eu/kanade/tachiyomi/extension/id/komikindoid/KomikIndoID.kt +++ b/src/id/komikindoid/src/eu/kanade/tachiyomi/extension/id/komikindoid/KomikIndoID.kt @@ -47,9 +47,9 @@ class KomikIndoID : ParsedHttpSource() { override fun searchMangaFromElement(element: Element): SManga { val manga = SManga.create() manga.thumbnail_url = element.select("div.limit img").attr("src") + manga.title = element.select("div.tt h4").text() element.select("div.animposx > a").first().let { manga.setUrlWithoutDomain(it.attr("href")) - manga.title = it.attr("title") } return manga }