mirror of
https://github.com/accelforce/Yuito
synced 2025-01-03 11:30:29 +01:00
fix crash in ConversationsFragment (#2426)
This commit is contained in:
parent
c705e9cbbb
commit
1d20a02d17
@ -102,7 +102,7 @@ class ConversationsFragment : SFragment(), StatusActionListener, Injectable, Res
|
||||
|
||||
initSwipeToRefresh()
|
||||
|
||||
lifecycleScope.launch {
|
||||
viewLifecycleOwner.lifecycleScope.launch {
|
||||
viewModel.conversationFlow.collectLatest { pagingData ->
|
||||
adapter.submitData(pagingData)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user