Fixed 'Open podcast' menu item in media player

This commit is contained in:
ByteHamster 2020-04-08 21:15:25 +02:00
parent 12781c9101
commit 7ba7b76425
1 changed files with 1 additions and 0 deletions

View File

@ -431,6 +431,7 @@ public class MainActivity extends CastEnabledActivity {
} else if (feedId > 0) {
loadFeedFragmentById(feedId, args);
}
sheetBehavior.setState(BottomSheetBehavior.STATE_COLLAPSED);
} else if (intent.getBooleanExtra(EXTRA_OPEN_PLAYER, false)) {
sheetBehavior.setState(BottomSheetBehavior.STATE_EXPANDED);
bottomSheetCallback.onSlide(null, 1.0f);