refactor:remove duplicated pollyfill

pull/1852/head
Xwite 3 years ago
parent 3017a6a398
commit d79b5e8139
  1. 3
      app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeUrl.kt

@ -192,9 +192,6 @@ class AnalyzeUrl(
} }
} }
} }
headerMap[UA_NAME] ?: let {
headerMap[UA_NAME] = AppConfig.userAgent
}
urlNoQuery = url urlNoQuery = url
when (method) { when (method) {
RequestMethod.GET -> { RequestMethod.GET -> {

Loading…
Cancel
Save