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

(cherry picked from commit 4ecccbbb16)

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
This commit is contained in:
Mattermost Build 2020-09-08 12:11:54 -04:00 committed by GitHub
parent 053798814e
commit bcd5397300
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}),
);
}
});