Actually use the synced setting

pull/21833/head
Luke Barnard 2017-10-26 09:58:46 +01:00
parent 3ae97348f8
commit 97b9cf6402
1 changed files with 3 additions and 1 deletions

View File

@ -112,7 +112,9 @@ module.exports = React.createClass({
document.webkitFullscreenElement); document.webkitFullscreenElement);
const maxVideoHeight = fullscreenElement ? null : this.props.maxHeight; const maxVideoHeight = fullscreenElement ? null : this.props.maxHeight;
const localVideoFeedClasses = classNames("mx_VideoView_localVideoFeed", const localVideoFeedClasses = classNames("mx_VideoView_localVideoFeed",
{"mx_VideoView_localVideoFeed_flipped": UserSettingsStore.getSyncedSetting} { "mx_VideoView_localVideoFeed_flipped":
UserSettingsStore.getSyncedSetting('VideoView.flipVideoHorizontally'),
},
); );
return ( return (
<div className="mx_VideoView" ref={this.setContainer} onClick={this.props.onClick}> <div className="mx_VideoView" ref={this.setContainer} onClick={this.props.onClick}>