You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-19 05:22:13 +03:00
Actually use the synced setting
This commit is contained in:
@@ -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}>
|
||||||
|
|||||||
Reference in New Issue
Block a user