Ver código fonte

style(RingOverlay): Rename onAvatarDisplayed to onAvatarVisible

j8
hristoterezov 8 anos atrás
pai
commit
58a07355fb
1 arquivos alterados com 3 adições e 3 exclusões
  1. 3
    3
      modules/UI/ring_overlay/RingOverlay.js

+ 3
- 3
modules/UI/ring_overlay/RingOverlay.js Ver arquivo

@@ -13,7 +13,7 @@ let overlay = null;
13 13
  * @param {boolean} shown indicates whether the avatar on the large video is
14 14
  *  currently displayed or not.
15 15
  */
16
-function onAvatarDisplayed(shown) {
16
+function onAvatarVisible(shown) {
17 17
     overlay._changeBackground(shown);
18 18
 }
19 19
 
@@ -148,7 +148,7 @@ export default {
148 148
 
149 149
         overlay = new RingOverlay(callee, disableRingingSound);
150 150
         APP.UI.addListener(UIEvents.LARGE_VIDEO_AVATAR_VISIBLE,
151
-            onAvatarDisplayed);
151
+            onAvatarVisible);
152 152
     },
153 153
 
154 154
     /**
@@ -162,7 +162,7 @@ export default {
162 162
         overlay.destroy();
163 163
         overlay = null;
164 164
         APP.UI.removeListener(UIEvents.LARGE_VIDEO_AVATAR_VISIBLE,
165
-            onAvatarDisplayed);
165
+            onAvatarVisible);
166 166
         return true;
167 167
     },
168 168
 

Carregando…
Cancelar
Salvar