mirror of
https://github.com/gedoor/legado.git
synced 2024-08-30 09:23:26 +08:00
parent
da689a3c4d
commit
ad372baa21
@ -108,6 +108,7 @@ data class RssSource(
|
||||
&& equal(ruleContent, source.ruleContent)
|
||||
&& enableJs == source.enableJs
|
||||
&& loadWithBaseUrl == source.loadWithBaseUrl
|
||||
&& equa(variableComment, source.variableComment)
|
||||
}
|
||||
|
||||
private fun equal(a: String?, b: String?): Boolean {
|
||||
@ -182,7 +183,8 @@ data class RssSource(
|
||||
enabledCookieJar = doc.readBool("$.enabledCookieJar") ?: false,
|
||||
customOrder = doc.readInt("$.customOrder") ?: 0,
|
||||
lastUpdateTime = doc.readLong("$.lastUpdateTime") ?: 0L,
|
||||
coverDecodeJs = doc.readString("$.coverDecodeJs")
|
||||
coverDecodeJs = doc.readString("$.coverDecodeJs"),
|
||||
variableComment = doc.readString("$.variableComment")
|
||||
)
|
||||
}
|
||||
}
|
||||
@ -206,4 +208,4 @@ data class RssSource(
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user