Always allow story error slate this->this transition.

This commit is contained in:
Alex Hart
2022-04-26 12:15:50 -04:00
committed by Cody Henthorne
parent da7e4cefd5
commit d23faf4278
@@ -162,6 +162,10 @@ class StorySlateView @JvmOverloads constructor(
return true
}
if (newState == this) {
return true
}
return when (this) {
LOADING -> newState == ERROR
ERROR -> newState == RETRY