From 2a471ffa9608c07a238e4e7825b37b239090ece3 Mon Sep 17 00:00:00 2001 From: sk Date: Mon, 28 Aug 2023 23:48:18 +0200 Subject: [PATCH] fix broken "edit avatar" overlay.. again!! closes sk22#727 closes sk22#738 --- .../org/joinmastodon/android/fragments/ProfileFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mastodon/src/main/java/org/joinmastodon/android/fragments/ProfileFragment.java b/mastodon/src/main/java/org/joinmastodon/android/fragments/ProfileFragment.java index 47a0ad853..ec9893f2d 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/fragments/ProfileFragment.java +++ b/mastodon/src/main/java/org/joinmastodon/android/fragments/ProfileFragment.java @@ -1059,7 +1059,7 @@ public class ProfileFragment extends LoaderFragment implements OnBackPressedList actionButton.setText(R.string.save_changes); pager.setVisibility(View.GONE); tabbar.setVisibility(View.GONE); - Drawable overlay=getResources().getDrawable(R.drawable.edit_avatar_overlay).mutate(); + Drawable overlay=getResources().getDrawable(R.drawable.edit_avatar_overlay, getActivity().getTheme()).mutate(); avatar.setForeground(overlay); updateMetadataHeight();