优化
This commit is contained in:
1 parent
de0d7c8a2f
commit
a16258af73
1 file changed
+1
-1
@@ -37,7 +37,7 @@ suspend fun RssSource.sortUrls(): List<Pair<String, String>> {
|
|||||||
val name = sort.substringBefore("::")
|
val name = sort.substringBefore("::")
|
||||||
val url = sort.substringAfter("::", "")
|
val url = sort.substringAfter("::", "")
|
||||||
if (url.isNotEmpty()) {
|
if (url.isNotEmpty()) {
|
||||||
add(Pair(name, NetworkUtils.getAbsoluteURL(sortUrl, url)))
|
add(Pair(name, NetworkUtils.getAbsoluteURL(sourceUrl, url)))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (isEmpty()) {
|
if (isEmpty()) {
|
||||||
|
|||||||
Reference in new issue
Block a user