Update UniFile

Which has more correct nullability for some methods and case insensitivity for listFiles where possible.
This commit is contained in:
arkon
2023-11-27 22:21:40 -05:00
parent d85a76484c
commit a74a689c90
9 changed files with 17 additions and 16 deletions

View File

@ -34,7 +34,7 @@ actual class LocalCoverManager(
return null
}
val targetFile = find(manga.url) ?: directory.createFile(DEFAULT_COVER_NAME)
val targetFile = find(manga.url) ?: directory.createFile(DEFAULT_COVER_NAME)!!
inputStream.use { input ->
targetFile.openOutputStream().use { output ->