Fix handling special characters in local manga filenames

This commit is contained in:
Koitharu
2023-05-16 13:07:11 +03:00
parent 4f68e7d0e6
commit 2e0eb5de54

View File

@@ -31,7 +31,8 @@ sealed class LocalMangaInput(
}
@JvmStatic
protected fun zipUri(file: File, entryName: String) = "cbz://${file.path}#$entryName"
protected fun zipUri(file: File, entryName: String): String =
Uri.fromParts("cbz", file.path, entryName).toString()
@JvmStatic
protected fun Manga.copy2(