mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-03-03 07:48:36 +00:00
Always allow story error slate this->this transition.
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user