[Glitch] Fix pop-out player appearing on mobile screens in web UI
Port 18ca4e0e9a
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
@@ -76,12 +76,16 @@ const makeMapStateToProps = () => {
|
||||
}
|
||||
|
||||
return {
|
||||
containerId : props.containerId || props.id, // Should match reblogStatus's id for reblogs
|
||||
status : status,
|
||||
account : account || props.account,
|
||||
settings : state.get('local_settings'),
|
||||
prepend : prepend || props.prepend,
|
||||
usingPiP : state.get('picture_in_picture').statusId === props.id,
|
||||
containerId: props.containerId || props.id, // Should match reblogStatus's id for reblogs
|
||||
status: status,
|
||||
account: account || props.account,
|
||||
settings: state.get('local_settings'),
|
||||
prepend: prepend || props.prepend,
|
||||
|
||||
pictureInPicture: {
|
||||
inUse: state.getIn(['meta', 'layout']) !== 'mobile' && state.get('picture_in_picture').statusId === props.id,
|
||||
available: state.getIn(['meta', 'layout']) !== 'mobile',
|
||||
},
|
||||
};
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user