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()) {
reader.beginObject()
when (reader.nextName()) {
"href" -> href = reader.nextNullableString()
else -> reader.skipValue()
while (reader.hasNext()) {
when (reader.nextName()) {
"href" -> href = reader.nextString()
else -> reader.skipValue()
}
}
reader.endObject()