kopia lustrzana https://github.com/ryukoposting/Signal-Android
Always allow story error slate this->this transition.
rodzic
da7e4cefd5
commit
d23faf4278
|
@ -162,6 +162,10 @@ class StorySlateView @JvmOverloads constructor(
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (newState == this) {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
|
||||||
return when (this) {
|
return when (this) {
|
||||||
LOADING -> newState == ERROR
|
LOADING -> newState == ERROR
|
||||||
ERROR -> newState == RETRY
|
ERROR -> newState == RETRY
|
||||||
|
|
Ładowanie…
Reference in New Issue