Merge pull request #163 from Alkarex/fix-freshrss-get-link

Fix FreshRSS get link
This commit is contained in:
Shinokuni 2024-08-14 23:14:34 +02:00 committed by GitHub
commit 79575a9ccf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 3 deletions

View File

@ -86,9 +86,11 @@ class FreshRSSItemsAdapter : JsonAdapter<List<Item>>() {
while (reader.hasNext()) { while (reader.hasNext()) {
reader.beginObject() reader.beginObject()
when (reader.nextName()) { while (reader.hasNext()) {
"href" -> href = reader.nextNullableString() when (reader.nextName()) {
else -> reader.skipValue() "href" -> href = reader.nextString()
else -> reader.skipValue()
}
} }
reader.endObject() reader.endObject()