extension ResultData#urls

This commit is contained in:
InsanusMokrassar committed 2021-09-21 15:10:33 +06:00
1 parent b5ceff32bd
commit 05b8d7738f
2 files changed
+4 -1

No files matched your search

@@ -171,3 +171,6 @@ val ResultData.charactersList: List<String>
val ResultData.titles: List<String>
get() = title ?.split(", ") ?: emptyList()
val ResultData.urls: List<String>
get() = extUrls + (url ?.split(", ") ?: emptyList())