Skip to content

Commit

Permalink
Silence warning when running with UpsideDownCake beta
Browse files Browse the repository at this point in the history
  • Loading branch information
schwabe committed Apr 6, 2023
1 parent e3d7059 commit 9e59860
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -668,9 +668,9 @@ class MiniImageGetter implements ImageGetter {
public Drawable getDrawable(String source) {
Drawable d = null;
if ("ic_menu_add".equals(source))
d = requireActivity().getResources().getDrawable(R.drawable.ic_menu_add_grey);
d = requireActivity().getResources().getDrawable(R.drawable.ic_menu_add_grey, requireActivity().getTheme());
else if ("ic_menu_archive".equals(source))
d = requireActivity().getResources().getDrawable(R.drawable.ic_menu_import_grey);
d = requireActivity().getResources().getDrawable(R.drawable.ic_menu_import_grey, requireActivity().getTheme());


if (d != null) {
Expand Down

0 comments on commit 9e59860

Please sign in to comment.