fix context weak reference usage

This commit is contained in:
adbenitez
2023-10-12 19:57:46 +02:00
parent 06f165f22c
commit 7ef7aba4a1
@@ -199,7 +199,7 @@ class ConversationListAdapter extends RecyclerView.Adapter {
dcChatlist = new DcChatlist(0, 0);
} else {
dcChatlist = chatlist;
dcContext = DcHelper.getAccounts(context).getAccount(chatlist.getAccountId());
dcContext = DcHelper.getAccounts(context.get()).getAccount(chatlist.getAccountId());
}
notifyDataSetChanged();
}