mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
fix context weak reference usage
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user