|
@@ -7,6 +7,7 @@ import { connect } from '../../base/redux';
|
7
|
7
|
import type { Dispatch } from 'redux';
|
8
|
8
|
|
9
|
9
|
import { createDeepLinkingPageEvent, sendAnalytics } from '../../analytics';
|
|
10
|
+import { isSupportedBrowser } from '../../base/environment';
|
10
|
11
|
import { translate } from '../../base/i18n';
|
11
|
12
|
|
12
|
13
|
import {
|
|
@@ -107,8 +108,12 @@ class DeepLinkingDesktopPage<P : Props> extends Component<P> {
|
107
|
108
|
</h1>
|
108
|
109
|
<p className = 'description'>
|
109
|
110
|
{
|
110
|
|
- t(`${_TNS}.description`,
|
111
|
|
- { app: NATIVE_APP_NAME })
|
|
111
|
+ t(
|
|
112
|
+ `${_TNS}.${isSupportedBrowser()
|
|
113
|
+ ? 'description'
|
|
114
|
+ : 'descriptionWithoutWeb'}`,
|
|
115
|
+ { app: NATIVE_APP_NAME }
|
|
116
|
+ )
|
112
|
117
|
}
|
113
|
118
|
</p>
|
114
|
119
|
<div className = 'buttons'>
|
|
@@ -118,9 +123,12 @@ class DeepLinkingDesktopPage<P : Props> extends Component<P> {
|
118
|
123
|
onClick = { this._onTryAgain }>
|
119
|
124
|
{ t(`${_TNS}.tryAgainButton`) }
|
120
|
125
|
</Button>
|
121
|
|
- <Button onClick = { this._onLaunchWeb }>
|
122
|
|
- { t(`${_TNS}.launchWebButton`) }
|
123
|
|
- </Button>
|
|
126
|
+ {
|
|
127
|
+ isSupportedBrowser()
|
|
128
|
+ && <Button onClick = { this._onLaunchWeb }>
|
|
129
|
+ { t(`${_TNS}.launchWebButton`) }
|
|
130
|
+ </Button>
|
|
131
|
+ }
|
124
|
132
|
</ButtonGroup>
|
125
|
133
|
</div>
|
126
|
134
|
</div>
|