Selaa lähdekoodia

fix(Toolbar.js): hide recording and SIP buttons from the start

j8
paweldomas 8 vuotta sitten
vanhempi
commit
6669a96fd8
1 muutettua tiedostoa jossa 6 lisäystä ja 2 poistoa
  1. 6
    2
      modules/UI/toolbars/Toolbar.js

+ 6
- 2
modules/UI/toolbars/Toolbar.js Näytä tiedosto

@@ -255,7 +255,9 @@ const defaultToolbarButtons = {
255 255
     'recording': {
256 256
         id: 'toolbar_button_record',
257 257
         tooltipKey: 'liveStreaming.buttonTooltip',
258
-        className: 'button'
258
+        className: 'button',
259
+        hidden: true // will be displayed once
260
+                     // the recording functionality is detected
259 261
     },
260 262
     'sharedvideo': {
261 263
         id: 'toolbar_button_sharedvideo',
@@ -270,7 +272,9 @@ const defaultToolbarButtons = {
270 272
     'sip': {
271 273
         id: 'toolbar_button_sip',
272 274
         tooltipKey: 'toolbar.sip',
273
-        className: 'button icon-telephone'
275
+        className: 'button icon-telephone',
276
+        hidden: true // will be displayed once
277
+                     // the SIP calls functionality is detected
274 278
     },
275 279
     'dialpad': {
276 280
         id: 'toolbar_button_dialpad',

Loading…
Peruuta
Tallenna