Pārlūkot izejas kodu

Makes numbers clickable on the more numbers page when opened on mobile.

master
damencho 6 gadus atpakaļ
vecāks
revīzija
0ec4e6a805

+ 4
- 1
react/features/invite/components/dial-in-info-page/DialInInfoApp.web.js Parādīt failu

@@ -8,16 +8,19 @@ import { i18next } from '../../../base/i18n';
8 8
 import { DialInSummary } from '../dial-in-summary';
9 9
 
10 10
 import NoRoomError from './NoRoomError';
11
+import { Platform } from '../../../base/react';
11 12
 
12 13
 document.addEventListener('DOMContentLoaded', () => {
13 14
     const { room } = parseURLParams(window.location, true, 'search');
15
+    const OS = Platform.OS;
16
+    const isUsingMobileBrowser = OS === 'android' || OS === 'ios';
14 17
 
15 18
     ReactDOM.render(
16 19
         <I18nextProvider i18n = { i18next }>
17 20
             { room
18 21
                 ? <DialInSummary
19 22
                     className = 'dial-in-page'
20
-                    clickableNumbers = { false }
23
+                    clickableNumbers = { isUsingMobileBrowser }
21 24
                     room = { room } />
22 25
                 : <NoRoomError className = 'dial-in-page' /> }
23 26
         </I18nextProvider>,

Notiek ielāde…
Atcelt
Saglabāt