Fix asset loading bug

This commit is contained in:
oupson 2023-07-14 09:51:57 +02:00
parent 888e1ca898
commit 898de8116e
Signed by: oupson
GPG Key ID: 3BD88615552EFCB7
1 changed files with 1 additions and 1 deletions

View File

@ -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/", ""))