exoplayer string fix

This commit is contained in:
Finnley Somdahl 2024-01-13 12:24:18 -06:00
parent 14d08b9491
commit e65fa8d565
2 changed files with 7 additions and 1 deletions

View file

@ -37,5 +37,10 @@ class AnimeNameAdapter {
text
}
}
fun removeEpisodeNumberCompletely(text: String): String {
val regexPattern = Regex(episodeRegex, RegexOption.IGNORE_CASE)
return text.replace(regexPattern, "")
}
}
}