I still hate linting
This commit is contained in:
parent
75365dd582
commit
c11ab2d724
|
@ -382,7 +382,7 @@ class MangaPlus(
|
||||||
screen.addPreference(splitPref)
|
screen.addPreference(splitPref)
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun PreferenceScreen.addEditTextPreference(
|
private fun PreferenceScreen.addEditTextPreference(
|
||||||
title: String,
|
title: String,
|
||||||
default: String,
|
default: String,
|
||||||
summary: String,
|
summary: String,
|
||||||
|
@ -500,7 +500,7 @@ class MangaPlus(
|
||||||
private val SharedPreferences.splitImages: Boolean
|
private val SharedPreferences.splitImages: Boolean
|
||||||
get() = getBoolean("${SPLIT_PREF_KEY}_$lang", SPLIT_PREF_DEFAULT_VALUE)
|
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)
|
get() = getString("${VER_PREF_KEY}_$lang", VER_PREF_DEFAULT_VALUE)
|
||||||
|
|
||||||
private val SharedPreferences.accountSecret: String?
|
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_KEY = "accountSecret"
|
||||||
private const val SECRET_PREF_DEFAULT_VALUE = ""
|
private const val SECRET_PREF_DEFAULT_VALUE = ""
|
||||||
|
|
||||||
|
|
||||||
private const val NOT_FOUND_SUBJECT = "Not Found"
|
private const val NOT_FOUND_SUBJECT = "Not Found"
|
||||||
|
|
||||||
private const val TITLE_THUMBNAIL_PATH = "title_thumbnail_portrait_list"
|
private const val TITLE_THUMBNAIL_PATH = "title_thumbnail_portrait_list"
|
||||||
|
|
||||||
private val ID_SEARCH_PATTERN = "^id:(\\d+)$".toRegex()
|
private val ID_SEARCH_PATTERN = "^id:(\\d+)$".toRegex()
|
||||||
private val CHAPTER_ID_SEARCH_PATTERN = "^chapter-id:(\\d+)$".toRegex()
|
private val CHAPTER_ID_SEARCH_PATTERN = "^chapter-id:(\\d+)$".toRegex()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue