Address some deprecation warnings
This commit is contained in:
@@ -65,7 +65,7 @@ class EHConfigurator(val context: Context) {
|
||||
val hathPerks = EHHathPerksResponse()
|
||||
|
||||
perksPage.select(".stuffbox tr").forEach {
|
||||
val name = it.child(0).text().toLowerCase(Locale.getDefault())
|
||||
val name = it.child(0).text().lowercase(Locale.getDefault())
|
||||
val purchased = it.child(2).getElementsByTag("form").isEmpty()
|
||||
|
||||
when (name) {
|
||||
|
||||
@@ -14,7 +14,7 @@ class EhUConfigBuilder {
|
||||
configItems += when (
|
||||
preferences.imageQuality()
|
||||
.get()
|
||||
.toLowerCase(Locale.getDefault())
|
||||
.lowercase(Locale.getDefault())
|
||||
) {
|
||||
"ovrs_2400" -> Entry.ImageSize.`2400`
|
||||
"ovrs_1600" -> Entry.ImageSize.`1600`
|
||||
|
||||
Reference in New Issue
Block a user