mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-22 12:51:42 +03:00
Language fix
This commit is contained in:
parent
02840cac59
commit
a8fb087851
@ -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);
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user