Skip to content

Commit

Permalink
minor fix for downloads [Vostfree] (aniyomiorg#555)
Browse files Browse the repository at this point in the history
* fixed not showing the last chapter

* Update version [Pelisplus]

* Fix search [Hentaila]

* minor fix for downloads [Vostfree]

* Update build.gradle
  • Loading branch information
Diegopyl1209 authored May 11, 2022
1 parent aa1f076 commit 479ded9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/fr/vostfree/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ext {
extName = 'Vostfree'
pkgNameSuffix = 'fr.vostfree'
extClass = '.Vostfree'
extVersionCode = 3
extVersionCode = 4
libVersion = '12'
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ class Vostfree : ConfigurableAnimeSource, ParsedAnimeHttpSource() {
override fun videoFromElement(element: Element) = throw Exception("not used")

override fun List<Video>.sort(): List<Video> {
val quality = preferences.getString("preferred_quality", "StreamTape")
val quality = preferences.getString("preferred_quality", "Vudeo")
if (quality != null) {
val newList = mutableListOf<Video>()
var preferred = 0
Expand Down Expand Up @@ -278,9 +278,9 @@ class Vostfree : ConfigurableAnimeSource, ParsedAnimeHttpSource() {
val videoQualityPref = ListPreference(screen.context).apply {
key = "preferred_quality"
title = "Preferred quality"
entries = arrayOf("StreamTape")
entryValues = arrayOf("StreamTape")
setDefaultValue("StreamTape")
entries = arrayOf("Vudeo", "Mytv", "Doodstream")
entryValues = arrayOf("Vudeo", "Mytv", "Doodstream")
setDefaultValue("Vudeo")
summary = "%s"

setOnPreferenceChangeListener { _, newValue ->
Expand Down

0 comments on commit 479ded9

Please sign in to comment.