Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e3efd839 authored by Selim Cinek's avatar Selim Cinek
Browse files

Fixed that group children expand buttons were sometimes colored

Because of a race the visibility wasn't set correctly yet

Change-Id: I94366a57049f39c5d12f9aed7af95e2f97bc15ea
parent d634d069
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -74,8 +74,7 @@ public class NotificationHeaderUtil {
        }

        private void applyToChild(View view, boolean shouldApply, int originalColor) {
            if (view.getVisibility() == View.VISIBLE
                    && originalColor != NotificationHeaderView.NO_COLOR) {
            if (originalColor != NotificationHeaderView.NO_COLOR) {
                ImageView imageView = (ImageView) view;
                imageView.getDrawable().mutate();
                if (shouldApply) {