forked from Ivasoft/mattermost-mobile
MM-28307 Fix display name in convert channel to private alert (#4767)
This commit is contained in:
@@ -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}),
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user