* Fix Android and iOS flow * Own review * RN-321 Update Settings and Notifications UX/UI Screens * Fix style for separator in android modals * Feedback review
20 lines
572 B
JavaScript
20 lines
572 B
JavaScript
// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
|
|
// See License.txt for license information.
|
|
|
|
import {connect} from 'react-redux';
|
|
|
|
import {getConfig} from 'mattermost-redux/selectors/entities/general';
|
|
|
|
import {getTheme} from 'app/selectors/preferences';
|
|
|
|
import NotificationSettingsMobile from './notification_settings_mobile';
|
|
|
|
function mapStateToProps(state, ownProps) {
|
|
return {
|
|
...ownProps,
|
|
config: getConfig(state),
|
|
theme: getTheme(state)
|
|
};
|
|
}
|
|
|
|
export default connect(mapStateToProps)(NotificationSettingsMobile);
|