优化文件名获取

This commit is contained in:
Xwite committed 2023-03-16 09:01:15 +08:00
1 parent e536354153
commit e3fea0f193
1 file changed
-1
@@ -124,7 +124,6 @@ object UrlUtil {
null null
} }
} }
}
private fun getFileNameFromPath(fileUrl: URL): String? { private fun getFileNameFromPath(fileUrl: URL): String? {
val path = fileUrl.path ?: return null val path = fileUrl.path ?: return null