Merge pull request #4025 from ByteHamster/fix-open-podcast-menu
Fixed 'Open podcast' menu item in media player
This commit is contained in:
commit
b8470cc2ce
|
@ -431,6 +431,7 @@ public class MainActivity extends CastEnabledActivity {
|
||||||
} else if (feedId > 0) {
|
} else if (feedId > 0) {
|
||||||
loadFeedFragmentById(feedId, args);
|
loadFeedFragmentById(feedId, args);
|
||||||
}
|
}
|
||||||
|
sheetBehavior.setState(BottomSheetBehavior.STATE_COLLAPSED);
|
||||||
} else if (intent.getBooleanExtra(EXTRA_OPEN_PLAYER, false)) {
|
} else if (intent.getBooleanExtra(EXTRA_OPEN_PLAYER, false)) {
|
||||||
sheetBehavior.setState(BottomSheetBehavior.STATE_EXPANDED);
|
sheetBehavior.setState(BottomSheetBehavior.STATE_EXPANDED);
|
||||||
bottomSheetCallback.onSlide(null, 1.0f);
|
bottomSheetCallback.onSlide(null, 1.0f);
|
||||||
|
|
Loading…
Reference in New Issue