fix crash in ConversationsFragment (#2426)
This commit is contained in:
parent
c705e9cbbb
commit
1d20a02d17
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ class ConversationsFragment : SFragment(), StatusActionListener, Injectable, Res
|
||||||
|
|
||||||
initSwipeToRefresh()
|
initSwipeToRefresh()
|
||||||
|
|
||||||
lifecycleScope.launch {
|
viewLifecycleOwner.lifecycleScope.launch {
|
||||||
viewModel.conversationFlow.collectLatest { pagingData ->
|
viewModel.conversationFlow.collectLatest { pagingData ->
|
||||||
adapter.submitData(pagingData)
|
adapter.submitData(pagingData)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue