Always allow story error slate this->this transition.
This commit is contained in:
parent
da7e4cefd5
commit
d23faf4278
1 changed files with 4 additions and 0 deletions
|
@ -162,6 +162,10 @@ class StorySlateView @JvmOverloads constructor(
|
|||
return true
|
||||
}
|
||||
|
||||
if (newState == this) {
|
||||
return true
|
||||
}
|
||||
|
||||
return when (this) {
|
||||
LOADING -> newState == ERROR
|
||||
ERROR -> newState == RETRY
|
||||
|
|
Loading…
Add table
Reference in a new issue