mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-09-11 07:16:00 +00:00
Remove commented code
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
package com.google.android.material.appbar;
|
||||
|
||||
import android.annotation.SuppressLint;
|
||||
import android.content.Context;
|
||||
import android.graphics.Rect;
|
||||
import android.util.AttributeSet;
|
||||
@@ -35,8 +34,6 @@ public final class FlingBehavior extends AppBarLayout.Behavior {
|
||||
return false;
|
||||
}
|
||||
|
||||
int offset = getTopAndBottomOffset();
|
||||
|
||||
int dy;
|
||||
|
||||
if (focusScrollRect.bottom > height) {
|
||||
@@ -49,8 +46,6 @@ public final class FlingBehavior extends AppBarLayout.Behavior {
|
||||
return false;
|
||||
}
|
||||
|
||||
//int newOffset = offset + dy;
|
||||
|
||||
int consumed = scroll(coordinatorLayout, child, dy, getMaxDragOffset(child), 0);
|
||||
|
||||
return consumed == dy;
|
||||
|
Reference in New Issue
Block a user