lbry-desktop/ui/component/page/index.js

11 lines
343 B
JavaScript
Raw Permalink Normal View History

2019-09-26 18:07:11 +02:00
import { connect } from 'react-redux';
2021-01-08 16:21:27 +01:00
import { makeSelectClientSetting } from 'redux/selectors/settings';
import * as SETTINGS from 'constants/settings';
2018-03-26 23:32:43 +02:00
import Page from './view';
2019-06-17 22:32:38 +02:00
2021-01-08 16:21:27 +01:00
const select = (state, props) => ({
videoTheaterMode: makeSelectClientSetting(SETTINGS.VIDEO_THEATER_MODE)(state),
});
export default connect(select)(Page);