fix(deep-linking): do not accept native app name as raw html
There is no need to display the native app name as raw html.
This commit is contained in:
parent
a2cbd9229a
commit
1409d6fb5e
|
@ -4,7 +4,7 @@ import React, { Component } from 'react';
|
||||||
import { connect } from '../../base/redux';
|
import { connect } from '../../base/redux';
|
||||||
|
|
||||||
import { createDeepLinkingPageEvent, sendAnalytics } from '../../analytics';
|
import { createDeepLinkingPageEvent, sendAnalytics } from '../../analytics';
|
||||||
import { translate, translateToHTML } from '../../base/i18n';
|
import { translate } from '../../base/i18n';
|
||||||
import { Platform } from '../../base/react';
|
import { Platform } from '../../base/react';
|
||||||
import { DialInSummary } from '../../invite';
|
import { DialInSummary } from '../../invite';
|
||||||
|
|
||||||
|
@ -109,12 +109,7 @@ class DeepLinkingMobilePage extends Component<Props> {
|
||||||
: null
|
: null
|
||||||
}
|
}
|
||||||
<p className = { `${_SNS}__text` }>
|
<p className = { `${_SNS}__text` }>
|
||||||
{
|
{ t(`${_TNS}.appNotInstalled`, { app: NATIVE_APP_NAME }) }
|
||||||
translateToHTML(
|
|
||||||
t,
|
|
||||||
`${_TNS}.appNotInstalled`,
|
|
||||||
{ app: NATIVE_APP_NAME })
|
|
||||||
}
|
|
||||||
</p>
|
</p>
|
||||||
<a
|
<a
|
||||||
href = { this._generateDownloadURL() }
|
href = { this._generateDownloadURL() }
|
||||||
|
|
Loading…
Reference in New Issue