Language fix

This commit is contained in:
Mustafa Buyukcelebi 2019-08-13 15:42:13 +03:00
parent 02840cac59
commit a8fb087851

View File

@ -52,6 +52,7 @@ class BoostContainer extends Component {
_purchaseUpdatedListener = () => {
const {
currentAccount: { name },
intl,
} = this.props;
this.purchaseUpdateSubscription = purchaseUpdatedListener(purchase => {
@ -86,7 +87,12 @@ class BoostContainer extends Component {
this.purchaseErrorSubscription = purchaseErrorListener(error => {
if (get(error, 'responseCode') !== '2') {
Alert.alert('Warning', error);
Alert.alert(
intl.formatMessage({
id: 'alert.warning',
}),
error,
);
bugsnag.notify(error);
}
});