Przeglądaj źródła

优化文件名获取

Xwite 3 lat temu
rodzic
commit
6cba51914e
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      app/src/main/java/io/legado/app/utils/UrlUtil.kt

+ 1 - 1
app/src/main/java/io/legado/app/utils/UrlUtil.kt

@@ -58,7 +58,7 @@ object UrlUtil {
         }.getOrNull()
     }
 
-    private getFileNameFromResponseHeader(
+    private fun getFileNameFromResponseHeader(
         url: URL,
         headerMap: Map<String, String>? = null
     ): String? {