MM-28307 Fix display name in convert channel to private alert (#4767)

This commit is contained in:
Elias Nahum 2020-09-08 12:59:51 -03:00 committed by GitHub
parent b97a88f243
commit 4ecccbbb16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -52,7 +52,7 @@ export default class ConvertPrivate extends PureComponent<ConvertPrivateProps> {
} else {
Alert.alert(
'',
formatMessage({id: t('mobile.channel_info.convert_success'), defaultMessage: '{displayName} is now a private channel.'}, displayName),
formatMessage({id: t('mobile.channel_info.convert_success'), defaultMessage: '{displayName} is now a private channel.'}, {displayName}),
);
}
});