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

Commit 3740d9ca authored by Abhishek Aggarwal's avatar Abhishek Aggarwal Committed by Mohammed Althaf T
Browse files

fix(folder): folder uninstall clear animation

parent ccc77459
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -304,6 +304,11 @@ public class FolderPagedView extends PagedView<PageIndicatorDots> implements Cli
    }

    public void removeItem(View v) {
        if (mFolder instanceof GridFolder && ((GridFolder) mFolder).isFolderWobbling()
                && v != null) {
            v.clearAnimation();
        }

        for (int i = getChildCount() - 1; i >= 0; i --) {
            getPageAt(i).removeView(v);
        }