mirror of
https://iceshrimp.dev/blueb/Chuckya-fe-standalone.git
synced 2026-01-11 13:33:21 -08:00
[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:
parent
30f4268f32
commit
870f0aae48
6 changed files with 110 additions and 86 deletions
|
|
@ -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',
|
||||
},
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue