mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-29 15:51:03 +00:00
feat: video fixing options
This commit is contained in:
@@ -379,7 +379,7 @@ class DownloadsManager(private val context: Context) {
|
||||
|
||||
private const val RESERVED_CHARS = "|\\?*<\":>+[]/'"
|
||||
fun String?.findValidName(): String {
|
||||
return this?.filterNot { RESERVED_CHARS.contains(it) } ?: ""
|
||||
return this?.replace("/","_")?.filterNot { RESERVED_CHARS.contains(it) } ?: ""
|
||||
}
|
||||
|
||||
data class DownloadedType(
|
||||
|
||||
Reference in New Issue
Block a user