fix crash in ConversationsFragment (#2426)

This commit is contained in:
Konrad Pozniak 2022-04-13 19:22:19 +02:00 committed by GitHub
parent c705e9cbbb
commit 1d20a02d17
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -102,7 +102,7 @@ class ConversationsFragment : SFragment(), StatusActionListener, Injectable, Res
initSwipeToRefresh()
lifecycleScope.launch {
viewLifecycleOwner.lifecycleScope.launch {
viewModel.conversationFlow.collectLatest { pagingData ->
adapter.submitData(pagingData)
}