Code cleanup
This commit is contained in:
1 parent
33f2f7d5c7
commit
f89f3454c4
2 files changed
+2
-2
No files matched your search
@@ -147,8 +147,7 @@ public class MainActivity extends BaseActivity {
|
||||
case BottomSheetBehavior.STATE_COLLAPSED:
|
||||
case BottomSheetBehavior.STATE_SETTLING:
|
||||
PlayerBottomSheetFragment playerBottomSheetFragment = (PlayerBottomSheetFragment) getSupportFragmentManager().findFragmentByTag("PlayerBottomSheet");
|
||||
if (playerBottomSheetFragment != null)
|
||||
playerBottomSheetFragment.scrollOnTop();
|
||||
if (playerBottomSheetFragment != null) playerBottomSheetFragment.scrollOnTop();
|
||||
break;
|
||||
case BottomSheetBehavior.STATE_DRAGGING:
|
||||
case BottomSheetBehavior.STATE_EXPANDED:
|
||||
|
||||
Reference in new issue
Block a user