优化文件名获取

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