diff --git a/src/ru/libmanga/res/mipmap-hdpi/ic_launcher.png b/src/ru/libmanga/res/mipmap-hdpi/ic_launcher.png index 6d0ce00bb..4c8909daa 100644 Binary files a/src/ru/libmanga/res/mipmap-hdpi/ic_launcher.png and b/src/ru/libmanga/res/mipmap-hdpi/ic_launcher.png differ diff --git a/src/ru/libmanga/res/mipmap-mdpi/ic_launcher.png b/src/ru/libmanga/res/mipmap-mdpi/ic_launcher.png index c016c115d..5d7bcb424 100644 Binary files a/src/ru/libmanga/res/mipmap-mdpi/ic_launcher.png and b/src/ru/libmanga/res/mipmap-mdpi/ic_launcher.png differ diff --git a/src/ru/libmanga/res/mipmap-xhdpi/ic_launcher.png b/src/ru/libmanga/res/mipmap-xhdpi/ic_launcher.png index a582a6406..88c173600 100644 Binary files a/src/ru/libmanga/res/mipmap-xhdpi/ic_launcher.png and b/src/ru/libmanga/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/src/ru/libmanga/res/mipmap-xxhdpi/ic_launcher.png b/src/ru/libmanga/res/mipmap-xxhdpi/ic_launcher.png index 93a37c1cf..9cd60aef5 100644 Binary files a/src/ru/libmanga/res/mipmap-xxhdpi/ic_launcher.png and b/src/ru/libmanga/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/src/ru/libmanga/res/mipmap-xxxhdpi/ic_launcher.png b/src/ru/libmanga/res/mipmap-xxxhdpi/ic_launcher.png index 32199db52..fdee8b890 100644 Binary files a/src/ru/libmanga/res/mipmap-xxxhdpi/ic_launcher.png and b/src/ru/libmanga/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/src/ru/libmanga/res/web_hi_res_512.png b/src/ru/libmanga/res/web_hi_res_512.png index a83690e51..4963da6f8 100644 Binary files a/src/ru/libmanga/res/web_hi_res_512.png and b/src/ru/libmanga/res/web_hi_res_512.png differ diff --git a/src/ru/libmanga/src/eu/kanade/tachiyomi/extension/ru/libmanga/LibManga.kt b/src/ru/libmanga/src/eu/kanade/tachiyomi/extension/ru/libmanga/LibManga.kt index 9b6b6b497..17a4cc82c 100644 --- a/src/ru/libmanga/src/eu/kanade/tachiyomi/extension/ru/libmanga/LibManga.kt +++ b/src/ru/libmanga/src/eu/kanade/tachiyomi/extension/ru/libmanga/LibManga.kt @@ -46,7 +46,7 @@ import java.util.concurrent.TimeUnit class LibManga : ConfigurableSource, HttpSource() { private val json: Json by injectLazy() - + private val preferences: SharedPreferences by lazy { Injekt.get().getSharedPreferences("source_${id}_2", 0x0000) } @@ -94,7 +94,7 @@ class LibManga : ConfigurableSource, HttpSource() { element.select("a").first().let { link -> manga.setUrlWithoutDomain(link.attr("href")) - manga.title = if (element.select(".updates__name_rus").isNullOrEmpty()) { element.select("h4").first().text() } else element.select(".updates__name_rus").first().text() + manga.title = if (titleLanguage.equals("rus") || element.select(".updates__name_rus").isNullOrEmpty()) { element.select("h4").first().text() } else element.select(".updates__name_rus").first().text() } return manga } @@ -840,7 +840,7 @@ class LibManga : ConfigurableSource, HttpSource() { val titleLanguagePref = ListPreference(screen.context).apply { key = LANGUAGE_PREF title = LANGUAGE_PREF_Title - entries = arrayOf("Транскрипция и английский", "Русский") + entries = arrayOf("Английский (транскрипция)", "Русский") entryValues = arrayOf("eng", "rus") summary = "%s" setDefaultValue("eng")