fixed space switching dialog measured with wrong height sometimes (#6928)
This commit is contained in:
parent
2b5920e451
commit
da70d520bc
1
changelog.d/6750.wip
Normal file
1
changelog.d/6750.wip
Normal file
@ -0,0 +1 @@
|
||||
[App Layout] fixed space switching dialog measured with wrong height sometimes
|
@ -193,7 +193,10 @@ class SpaceListFragment :
|
||||
override fun invalidate() = withState(viewModel) { state ->
|
||||
when (state.asyncSpaces) {
|
||||
Uninitialized,
|
||||
is Loading -> views.stateView.state = StateView.State.Loading
|
||||
is Loading -> {
|
||||
views.stateView.state = StateView.State.Loading
|
||||
return@withState
|
||||
}
|
||||
is Success -> views.stateView.state = StateView.State.Content
|
||||
else -> Unit
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user