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

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

Fixed a bug where custom notifications were invisible

Change-Id: If981a380ed7e3ef7000e245aefaf36d039e15cfa
parent 6f4fcdc4
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -45,4 +45,10 @@ public class NotificationCustomViewWrapper extends NotificationViewWrapper {
            mInvertHelper.update(dark);
        }
    }

    @Override
    public void setVisible(boolean visible) {
        super.setVisible(visible);
        mView.setAlpha(visible ? 1.0f : 0.0f);
    }
}
+1 −0
Original line number Diff line number Diff line
@@ -105,6 +105,7 @@ public abstract class NotificationViewWrapper implements TransformableView {

    @Override
    public void setVisible(boolean visible) {
        mView.animate().cancel();
        mView.setVisibility(visible ? View.VISIBLE : View.INVISIBLE);
    }
}