Preference cast fix. (#1927)

This commit is contained in:
funkyhippo 2019-12-27 17:56:42 -08:00 committed by arkon
parent 537e0971a6
commit 61f6e9fd47
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ ext {
appName = 'Tachiyomi: Guya' appName = 'Tachiyomi: Guya'
pkgNameSuffix = "en.guya" pkgNameSuffix = "en.guya"
extClass = '.Guya' extClass = '.Guya'
extVersionCode = 6 extVersionCode = 7
libVersion = '1.2' libVersion = '1.2'
} }

View File

@ -178,7 +178,7 @@ open class Guya() : ConfigurableSource, HttpSource() {
"on chapter refresh/update. It will get the next available if " + "on chapter refresh/update. It will get the next available if " +
"your preferred scanlator isn't an option (yet)." "your preferred scanlator isn't an option (yet)."
this.setDefaultValue(1) this.setDefaultValue("1")
setOnPreferenceChangeListener{_, newValue -> setOnPreferenceChangeListener{_, newValue ->
val selected = newValue.toString() val selected = newValue.toString()