From 9cedadc7e1d6dec88c12f7d043fedeb875d1f4e5 Mon Sep 17 00:00:00 2001 From: Luqman <16263232+Riztard@users.noreply.github.com> Date: Mon, 29 Jan 2024 10:22:24 +0700 Subject: [PATCH] increase chop char --- .../main/java/eu/kanade/tachiyomi/ui/manga/EditMangaDialog.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/EditMangaDialog.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/EditMangaDialog.kt index 1a670aea3a89..a4ae091dd31e 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/EditMangaDialog.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/EditMangaDialog.kt @@ -191,7 +191,7 @@ private fun onViewCreated(manga: Manga, context: Context, binding: EditMangaDial binding.thumbnailUrl.hint = context.stringResource( SYMR.strings.thumbnail_url_hint, - manga.ogThumbnailUrl!!.chop(30) + "." + manga.ogThumbnailUrl!!.substringAfterLast(".").chop(6) + manga.ogThumbnailUrl!!.chop(35) + "." + manga.ogThumbnailUrl!!.substringAfterLast(".").chop(6) ) } if (!manga.ogDescription.isNullOrBlank()) {