en/AniPlay: better server names in source list
This commit is contained in:
parent
66a163541e
commit
3369add44d
1 changed files with 2 additions and 1 deletions
|
@ -429,7 +429,7 @@ class AniPlay : AniListAnimeHttpSource(), ConfigurableAnimeSource {
|
||||||
if (index == -1) {
|
if (index == -1) {
|
||||||
return "Other"
|
return "Other"
|
||||||
}
|
}
|
||||||
return PREF_SERVER_ENTRIES[index]
|
return PREF_SERVER_ENTRIES2[index]
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun getTypeName(value: String): String {
|
private fun getTypeName(value: String): String {
|
||||||
|
@ -459,6 +459,7 @@ class AniPlay : AniListAnimeHttpSource(), ConfigurableAnimeSource {
|
||||||
|
|
||||||
private const val PREF_SERVER_KEY = "server"
|
private const val PREF_SERVER_KEY = "server"
|
||||||
private val PREF_SERVER_ENTRIES = arrayOf("Kuro (Gogoanime)", "Yuki (HiAnime)", "Yuno (Yugenanime)")
|
private val PREF_SERVER_ENTRIES = arrayOf("Kuro (Gogoanime)", "Yuki (HiAnime)", "Yuno (Yugenanime)")
|
||||||
|
private val PREF_SERVER_ENTRIES2 = arrayOf("Kuro", "Yuki", "Yuno")
|
||||||
private val PREF_SERVER_ENTRY_VALUES = arrayOf("kuro", "yuki", "yuno")
|
private val PREF_SERVER_ENTRY_VALUES = arrayOf("kuro", "yuki", "yuno")
|
||||||
private const val PREF_SERVER_DEFAULT = "kuro"
|
private const val PREF_SERVER_DEFAULT = "kuro"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue