RawLH: fix chapter pages showing loading gif (#5692)

This commit is contained in:
scb261 2021-02-08 15:29:33 +02:00 committed by GitHub
parent 0b65ca1199
commit 18779c2777
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'FMReader (multiple aggregators)'
pkgNameSuffix = 'all.fmreader'
extClass = '.FMReaderFactory'
extVersionCode = 26
extVersionCode = 27
libVersion = '1.2'
containsNsfw = true
}

View File

@ -281,6 +281,7 @@ abstract class FMReader(
val attr =
if (this.hasAttr("data-original")) "data-original"
else if (this.hasAttr("data-src")) "data-src"
else if (this.hasAttr("data-srcset")) "data-srcset"
else "src"
return if (!this.attr(attr).contains(".")) {
Base64.decode(this.attr(attr), Base64.DEFAULT).toString(Charset.defaultCharset())