This commit is contained in:
Horis 2023-12-27 10:14:09 +08:00
parent cf40a32e3a
commit 830d6da5c7

View File

@ -76,7 +76,7 @@ object LocalBook {
}
val file = File(uri.path!!)
if (file.exists()) {
return@runCatching File(uri.path!!).lastModified()
return@runCatching file.lastModified()
}
throw FileNotFoundException("${uri.path} 文件不存在")
}