Fix asset loading bug
This commit is contained in:
parent
888e1ca898
commit
898de8116e
|
@ -190,7 +190,7 @@ class ApngLoader(parent: Job? = null) {
|
|||
imageView,
|
||||
config
|
||||
)
|
||||
} else if (string.startsWith("file://android_asset/")) {
|
||||
} else if (string.startsWith("file:///android_asset/")) {
|
||||
kotlin.runCatching {
|
||||
withContext(Dispatchers.IO) {
|
||||
context.assets.open(string.replace("file:///android_asset/", ""))
|
||||
|
|
Loading…
Reference in New Issue