2022-04-17 13:04:56 -04:00
|
|
|
import { connect } from 'react-redux';
|
|
|
|
import Wallpaper from './view';
|
2022-06-28 17:01:19 -03:00
|
|
|
import * as SETTINGS from 'constants/settings';
|
|
|
|
import { makeSelectClientSetting } from 'redux/selectors/settings';
|
2022-04-17 13:04:56 -04:00
|
|
|
|
2022-06-28 17:01:19 -03:00
|
|
|
const select = (state) => ({
|
|
|
|
disableBackground: makeSelectClientSetting(SETTINGS.DISABLE_BACKGROUND)(state),
|
|
|
|
});
|
2022-04-17 13:04:56 -04:00
|
|
|
|
2022-06-28 17:01:19 -03:00
|
|
|
const perform = {};
|
|
|
|
|
|
|
|
export default connect(select, perform)(Wallpaper);
|