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