feat: video fixing options
This commit is contained in:
parent
c2a10c233d
commit
10df1986e8
6 changed files with 112 additions and 3 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue