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

Commit 9c58d826 authored by Adam Cohen's avatar Adam Cohen
Browse files

Fix issue where deleting item from folder leaves extra page

Change-Id: Ie741dbe5341d8237c85f732b26661d084b99f6e2
parent 674531f2
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -772,7 +772,11 @@ public class Folder extends LinearLayout implements DragSource, View.OnClickList
                }
                completeDragExit();
            }
        } else {
        }

        // This is kind of hacky, but in general, dropping on the workspace handles removing
        // the extra screen, but dropping elsewhere (back to self, or onto delete) doesn't.
        if (target != mLauncher.getWorkspace()) {
            mLauncher.getWorkspace().removeExtraEmptyScreen(true, null);
        }