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

tv: use context to get drawable

Change-Id: I31921be52f6d062e53b9efcb9597f7cb1b09cb7a
parent 0ee54fab
No related branches found
No related tags found
No related merge requests found
......@@ -134,7 +134,7 @@ public class TVContactFragment extends BaseDetailFragment<TVContactPresenter> im
ArrayObjectAdapter adapter = new ArrayObjectAdapter();
adapter.add(ACTION_CALL, new Action(ACTION_CALL, getResources().getString(R.string.ab_action_video_call),
null, getResources().getDrawable(R.drawable.baseline_videocam_24)));
null, requireContext().getDrawable(R.drawable.baseline_videocam_24)));
adapter.add(ACTION_DELETE, new Action(ACTION_DELETE, getResources().getString(R.string.conversation_action_remove_this)));
adapter.add(ACTION_CLEAR_HISTORY, new Action(ACTION_CLEAR_HISTORY, getResources().getString(R.string.tv_clear_history)));
row.setActionsAdapter(adapter);
......
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