Fix pop-out player appearing on mobile screens in web UI (#15157)
Fix #15092
This commit is contained in:
parent
04a079e723
commit
18ca4e0e9a
6 changed files with 79 additions and 72 deletions
|
@ -57,7 +57,11 @@ const makeMapStateToProps = () => {
|
|||
|
||||
const mapStateToProps = (state, props) => ({
|
||||
status: getStatus(state, props),
|
||||
usingPiP: state.get('picture_in_picture').statusId === props.id,
|
||||
|
||||
pictureInPicture: {
|
||||
inUse: state.getIn(['meta', 'layout']) !== 'mobile' && state.get('picture_in_picture').statusId === props.id,
|
||||
available: state.getIn(['meta', 'layout']) !== 'mobile',
|
||||
},
|
||||
});
|
||||
|
||||
return mapStateToProps;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue