mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
Fix issue where deleting item from folder leaves extra page
Change-Id: Ie741dbe5341d8237c85f732b26661d084b99f6e2
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user