change url mangaae "ar" (#1191)

This commit is contained in:
mohamedotaku 2024-02-11 09:34:13 +01:00 committed by Draff
parent 591c65a534
commit cf5299c188
2 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
ext {
extName = 'Manga.ae'
extClass = '.MangaAe'
extVersionCode = 11
extVersionCode = 12
}
apply from: "$rootDir/common.gradle"

View File

@ -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()