fix(rn, chat): localize the chat button label

This commit is contained in:
Werner Fleischer
2022-06-07 16:37:54 +02:00
committed by Saúl Ibarra Corretgé
parent 5be770cad1
commit def3c76e10

View File

@@ -1,6 +1,7 @@
// @flow
import { CHAT_ENABLED, getFeatureFlag } from '../../../base/flags';
import { translate } from '../../../base/i18n';
import { IconChat, IconChatUnread } from '../../../base/icons';
import { connect } from '../../../base/redux';
import {
@@ -76,4 +77,4 @@ function _mapStateToProps(state, ownProps) {
};
}
export default connect(_mapStateToProps)(ChatButton);
export default translate(connect(_mapStateToProps)(ChatButton));