Fix attachment marked with "ALL" not recognized

This commit is contained in:
2019-10-18 19:46:13 +02:00
committed by Matte23
parent 9154d81b39
commit 889aad1b2f

View File

@@ -43,7 +43,7 @@ class DataFetcher {
val list = ArrayList<Circular>() val list = ArrayList<Circular>()
htmlList.forEach { element -> htmlList.forEach { element ->
if (element.text().startsWith("All")) { if (element.text().startsWith("All", true)) {
list.last().attachmentsNames.add(element.text()) list.last().attachmentsNames.add(element.text())
list.last().attachmentsUrls.add(element.attr("href")) list.last().attachmentsUrls.add(element.attr("href"))
} else { } else {