f79c622edf
* Added checkbox to enable/disable background * bug fix in enable disable button * small fix in translation * rename background setting to be disable backgroud; add default value for background setting.
12 lines
377 B
JavaScript
12 lines
377 B
JavaScript
import { connect } from 'react-redux';
|
|
import Wallpaper from './view';
|
|
import * as SETTINGS from 'constants/settings';
|
|
import { makeSelectClientSetting } from 'redux/selectors/settings';
|
|
|
|
const select = (state) => ({
|
|
disableBackground: makeSelectClientSetting(SETTINGS.DISABLE_BACKGROUND)(state),
|
|
});
|
|
|
|
const perform = {};
|
|
|
|
export default connect(select, perform)(Wallpaper);
|