fix: scanlator | language selection
This commit is contained in:
parent
deda67a070
commit
a3e1cc45b3
3 changed files with 11 additions and 2 deletions
|
@ -54,6 +54,11 @@ abstract class BaseParser {
|
|||
* Isn't necessary to override, but recommended, if you want to improve auto search results
|
||||
* **/
|
||||
open suspend fun autoSearch(mediaObj: Media): ShowResponse? {
|
||||
(this as? DynamicMangaParser)?.let { ext ->
|
||||
mediaObj.selected?.langIndex?.let {
|
||||
ext.sourceLanguage = it
|
||||
}
|
||||
}
|
||||
var response: ShowResponse? = loadSavedShowResponse(mediaObj.id)
|
||||
if (response != null && this !is OfflineMangaParser && this !is OfflineAnimeParser) {
|
||||
saveShowResponse(mediaObj.id, response, true)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue