diff --git a/src/all/mangaplus/src/eu/kanade/tachiyomi/extension/all/mangaplus/MangaPlus.kt b/src/all/mangaplus/src/eu/kanade/tachiyomi/extension/all/mangaplus/MangaPlus.kt index 9e69132ca..08d6efa15 100644 --- a/src/all/mangaplus/src/eu/kanade/tachiyomi/extension/all/mangaplus/MangaPlus.kt +++ b/src/all/mangaplus/src/eu/kanade/tachiyomi/extension/all/mangaplus/MangaPlus.kt @@ -382,7 +382,7 @@ class MangaPlus( screen.addPreference(splitPref) } - private fun PreferenceScreen.addEditTextPreference( + private fun PreferenceScreen.addEditTextPreference( title: String, default: String, summary: String, @@ -500,7 +500,7 @@ class MangaPlus( private val SharedPreferences.splitImages: Boolean get() = getBoolean("${SPLIT_PREF_KEY}_$lang", SPLIT_PREF_DEFAULT_VALUE) - private val SharedPreferences.appVersion: String? + private val SharedPreferences.appVersion: String? get() = getString("${VER_PREF_KEY}_$lang", VER_PREF_DEFAULT_VALUE) private val SharedPreferences.accountSecret: String? @@ -531,11 +531,9 @@ private const val VER_PREF_DEFAULT_VALUE = "" private const val SECRET_PREF_KEY = "accountSecret" private const val SECRET_PREF_DEFAULT_VALUE = "" - private const val NOT_FOUND_SUBJECT = "Not Found" private const val TITLE_THUMBNAIL_PATH = "title_thumbnail_portrait_list" private val ID_SEARCH_PATTERN = "^id:(\\d+)$".toRegex() private val CHAPTER_ID_SEARCH_PATTERN = "^chapter-id:(\\d+)$".toRegex() -