Merge pull request #4025 from ByteHamster/fix-open-podcast-menu

Fixed 'Open podcast' menu item in media player
This commit is contained in:
H. Lehmann 2020-04-09 12:35:00 +02:00 committed by GitHub
commit b8470cc2ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);