parent
					
						
							
								5bbc9a4f78
							
						
					
				
			
			
				commit
				
					
						d88a79b456
					
				
			
		
					 20 changed files with 648 additions and 58 deletions
				
			
		|  | @ -143,6 +143,7 @@ const makeMapStateToProps = () => { | |||
|       descendantsIds, | ||||
|       askReplyConfirmation: state.getIn(['compose', 'text']).trim().length !== 0, | ||||
|       domain: state.getIn(['meta', 'domain']), | ||||
|       usingPiP: state.get('picture_in_picture').statusId === props.params.statusId, | ||||
|     }; | ||||
|   }; | ||||
| 
 | ||||
|  | @ -167,6 +168,7 @@ class Status extends ImmutablePureComponent { | |||
|     askReplyConfirmation: PropTypes.bool, | ||||
|     multiColumn: PropTypes.bool, | ||||
|     domain: PropTypes.string.isRequired, | ||||
|     usingPiP: PropTypes.bool, | ||||
|   }; | ||||
| 
 | ||||
|   state = { | ||||
|  | @ -492,7 +494,7 @@ class Status extends ImmutablePureComponent { | |||
| 
 | ||||
|   render () { | ||||
|     let ancestors, descendants; | ||||
|     const { shouldUpdateScroll, status, ancestorsIds, descendantsIds, intl, domain, multiColumn } = this.props; | ||||
|     const { shouldUpdateScroll, status, ancestorsIds, descendantsIds, intl, domain, multiColumn, usingPiP } = this.props; | ||||
|     const { fullscreen } = this.state; | ||||
| 
 | ||||
|     if (status === null) { | ||||
|  | @ -550,6 +552,7 @@ class Status extends ImmutablePureComponent { | |||
|                   domain={domain} | ||||
|                   showMedia={this.state.showMedia} | ||||
|                   onToggleMediaVisibility={this.handleToggleMediaVisibility} | ||||
|                   usingPiP={usingPiP} | ||||
|                 /> | ||||
| 
 | ||||
|                 <ActionBar | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue