mattermost-mobile/app/screens/settings/notification_settings_mobile/index.js
enahum adbaead58e RN-321 Update Settings and Notifications UX/UI Screens (#879)
* 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
2017-09-08 15:38:50 -03:00

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);