mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
chore(reader/webtoon): Try to ensure that error message is removed when image is loaded
This commit is contained in:
parent
0f609ab0c7
commit
d3a47bdfe3
1 changed files with 2 additions and 1 deletions
|
@ -179,7 +179,6 @@ class WebtoonPageHolder(
|
|||
progressContainer.isVisible = true
|
||||
progressIndicator.show()
|
||||
progressIndicator.completeAndFadeOut()
|
||||
removeErrorLayout()
|
||||
|
||||
val streamFn = page?.stream ?: return
|
||||
|
||||
|
@ -201,6 +200,7 @@ class WebtoonPageHolder(
|
|||
},
|
||||
),
|
||||
)
|
||||
removeErrorLayout()
|
||||
}
|
||||
} catch (e: Exception) {
|
||||
Logger.e(e)
|
||||
|
@ -236,6 +236,7 @@ class WebtoonPageHolder(
|
|||
*/
|
||||
private fun onImageDecoded() {
|
||||
progressContainer.isVisible = false
|
||||
removeErrorLayout()
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue