I still hate linting
CI / Prepare job (push) Successful in 3s Details
CI / Build individual modules (push) Failing after 1m9s Details
CI / Publish repo (push) Has been skipped Details

This commit is contained in:
Draff 2024-02-18 20:58:13 +00:00
parent 75365dd582
commit c11ab2d724
1 changed files with 2 additions and 4 deletions

View File

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