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

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

Fixed a bug where a wrong notification could be visible

Because we were not looking at the wrong state and ignoring
gone.

Test: add 4 notifications, pull down and tap on bottom continuously
Change-Id: Ic4370fa89525802ed99377da215085d84642a174
parent c8007c59
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -594,7 +594,7 @@ public class ViewState {
    }

    protected void onYTranslationAnimationFinished(View view) {
        if (hidden) {
        if (hidden && !gone) {
            view.setVisibility(View.INVISIBLE);
        }
    }