Removed animation on lyrics show up

This commit is contained in:
CappielloAntonio committed 2021-12-19 17:21:38 +01:00
1 parent e79d492af2
commit c7ebddbefc
3 files changed
+6 -4

No files matched your search

@@ -157,7 +157,10 @@ 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();
playerBottomSheetFragment.setLyricsTextViewVisibility(false);
}
break;
case BottomSheetBehavior.STATE_DRAGGING:
case BottomSheetBehavior.STATE_EXPANDED: