Fix above snack view

This commit is contained in:
NekoInverter committed 2020-12-28 16:32:36 +08:00
1 parent 24d2e76072
commit 0f569cf415
1 file changed
-3
@@ -99,9 +99,6 @@ public class EhDrawerLayout extends DrawerLayout implements CoordinatorLayout.At
@Override
public void onDependentViewRemoved(@NonNull CoordinatorLayout parent, @NonNull EhDrawerLayout child, @NonNull View dependency) {
if (child.getAboveSnackViewCount() > 1) {
return;
}
for (int i = 0, n = child.getAboveSnackViewCount(); i < n; i++) {
View view = child.getAboveSnackViewAt(i);
if (view != null) {