From cf5299c18878a812cbe444fe0916d49f5db3ebf2 Mon Sep 17 00:00:00 2001 From: mohamedotaku Date: Sun, 11 Feb 2024 09:34:13 +0100 Subject: [PATCH] change url mangaae "ar" (#1191) --- src/ar/mangaae/build.gradle | 2 +- .../src/eu/kanade/tachiyomi/extension/ar/mangaae/MangaAe.kt | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/ar/mangaae/build.gradle b/src/ar/mangaae/build.gradle index 36042699b..a4e841810 100644 --- a/src/ar/mangaae/build.gradle +++ b/src/ar/mangaae/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'Manga.ae' extClass = '.MangaAe' - extVersionCode = 11 + extVersionCode = 12 } apply from: "$rootDir/common.gradle" diff --git a/src/ar/mangaae/src/eu/kanade/tachiyomi/extension/ar/mangaae/MangaAe.kt b/src/ar/mangaae/src/eu/kanade/tachiyomi/extension/ar/mangaae/MangaAe.kt index 8d3b7de42..ea4009b82 100644 --- a/src/ar/mangaae/src/eu/kanade/tachiyomi/extension/ar/mangaae/MangaAe.kt +++ b/src/ar/mangaae/src/eu/kanade/tachiyomi/extension/ar/mangaae/MangaAe.kt @@ -161,7 +161,7 @@ class MangaAe : ParsedHttpSource(), ConfigurableSource { companion object { private const val RESTART_TACHIYOMI = ".لتطبيق الإعدادات الجديدة Tachiyomi أعد تشغيل" private const val BASE_URL_PREF_TITLE = "تعديل الرابط" - private const val BASE_URL_PREF_DEFAULT = "https://manga.ae" + private const val BASE_URL_PREF_DEFAULT = "https://mangaae.com" private const val BASE_URL_PREF = "overrideBaseUrl_v${BuildConfig.VERSION_CODE}" private const val BASE_URL_PREF_SUMMARY = ".للاستخدام المؤقت. تحديث التطبيق سيؤدي الى حذف الإعدادات" } @@ -173,6 +173,7 @@ class MangaAe : ParsedHttpSource(), ConfigurableSource { summary = BASE_URL_PREF_SUMMARY setDefaultValue(BASE_URL_PREF_DEFAULT) dialogTitle = BASE_URL_PREF_TITLE + dialogMessage = "Default: $BASE_URL_PREF_DEFAULT" setOnPreferenceChangeListener { _, _ -> Toast.makeText(screen.context, RESTART_TACHIYOMI, Toast.LENGTH_LONG).show()