Fix default value for sub type (#1134)

This commit is contained in:
Secozzi
2023-01-03 17:36:52 +01:00
committed by GitHub
parent 74d8a6113a
commit 671657342e
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ ext {
extName = 'Kamyroll' extName = 'Kamyroll'
pkgNameSuffix = 'all.kamyroll' pkgNameSuffix = 'all.kamyroll'
extClass = '.Kamyroll' extClass = '.Kamyroll'
extVersionCode = 3 extVersionCode = 4
libVersion = '13' libVersion = '13'
} }

View File

@ -371,7 +371,7 @@ class Kamyroll : ConfigurableAnimeSource, AnimeHttpSource() {
title = "Preferred Sub Type" title = "Preferred Sub Type"
entries = arrayOf("Softsub", "Hardsub") entries = arrayOf("Softsub", "Hardsub")
entryValues = arrayOf("soft", "hard") entryValues = arrayOf("soft", "hard")
setDefaultValue("softsub") setDefaultValue("soft")
summary = "%s" summary = "%s"
setOnPreferenceChangeListener { _, newValue -> setOnPreferenceChangeListener { _, newValue ->