fix(rn, chat): localize the chat button label
This commit is contained in:
parent
5be770cad1
commit
def3c76e10
|
@ -1,6 +1,7 @@
|
||||||
// @flow
|
// @flow
|
||||||
|
|
||||||
import { CHAT_ENABLED, getFeatureFlag } from '../../../base/flags';
|
import { CHAT_ENABLED, getFeatureFlag } from '../../../base/flags';
|
||||||
|
import { translate } from '../../../base/i18n';
|
||||||
import { IconChat, IconChatUnread } from '../../../base/icons';
|
import { IconChat, IconChatUnread } from '../../../base/icons';
|
||||||
import { connect } from '../../../base/redux';
|
import { connect } from '../../../base/redux';
|
||||||
import {
|
import {
|
||||||
|
@ -76,4 +77,4 @@ function _mapStateToProps(state, ownProps) {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
export default connect(_mapStateToProps)(ChatButton);
|
export default translate(connect(_mapStateToProps)(ChatButton));
|
||||||
|
|
Loading…
Reference in New Issue