Skip to content
Snippets Groups Projects
Commit b6d5d64e authored by Adrien Béraud's avatar Adrien Béraud
Browse files

contact requests: copy list

Change-Id: I480cd83c09a49d850f1618b396d59d54c62b5a87
parent 5e7e4886
No related branches found
No related tags found
No related merge requests found
......@@ -90,7 +90,7 @@ class SmartListAdapter(
}
fun update(viewModels: List<Conversation>) {
update(ConversationFacade.ConversationList(viewModels.toList()))
update(ConversationFacade.ConversationList(ArrayList(viewModels)))
}
fun update(viewModels: ConversationFacade.ConversationList) {
......
......@@ -46,7 +46,7 @@ class ContactRequestsPresenter @Inject internal constructor(
mCompositeDisposable.add(mConversationFacade.getPendingConversationList(mAccount)
.observeOn(mUiScheduler)
.subscribe { viewModels ->
this.view?.updateView(viewModels, mConversationFacade, mCompositeDisposable)
this.view?.updateView(ArrayList(viewModels), mConversationFacade, mCompositeDisposable)
})
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment