Preference cast fix. (#1927)
This commit is contained in:
parent
537e0971a6
commit
61f6e9fd47
|
@ -5,7 +5,7 @@ ext {
|
|||
appName = 'Tachiyomi: Guya'
|
||||
pkgNameSuffix = "en.guya"
|
||||
extClass = '.Guya'
|
||||
extVersionCode = 6
|
||||
extVersionCode = 7
|
||||
libVersion = '1.2'
|
||||
}
|
||||
|
||||
|
|
|
@ -178,7 +178,7 @@ open class Guya() : ConfigurableSource, HttpSource() {
|
|||
"on chapter refresh/update. It will get the next available if " +
|
||||
"your preferred scanlator isn't an option (yet)."
|
||||
|
||||
this.setDefaultValue(1)
|
||||
this.setDefaultValue("1")
|
||||
|
||||
setOnPreferenceChangeListener{_, newValue ->
|
||||
val selected = newValue.toString()
|
||||
|
|
Loading…
Reference in New Issue