Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

style(RingOverlay): Rename onAvatarDisplayed to onAvatarVisible

hristoterezov58a07355fbc8
diff --git a/modules/UI/ring_overlay/RingOverlay.js b/modules/UI/ring_overlay/RingOverlay.js
index 4fac6077cc..a59b83871d 100644
--- a/modules/UI/ring_overlay/RingOverlay.js
+++ b/modules/UI/ring_overlay/RingOverlay.js
@@ -13,7 +13,7 @@ let overlay = null;
* @param {boolean} shown indicates whether the avatar on the large video is
* currently displayed or not.
*/
-function onAvatarDisplayed(shown) {
+function onAvatarVisible(shown) {
overlay._changeBackground(shown);
}
@@ -148,7 +148,7 @@ export default {
overlay = new RingOverlay(callee, disableRingingSound);
APP.UI.addListener(UIEvents.LARGE_VIDEO_AVATAR_VISIBLE,
- onAvatarDisplayed);
+ onAvatarVisible);
},
/**
@@ -162,7 +162,7 @@ export default {
overlay.destroy();
overlay = null;
APP.UI.removeListener(UIEvents.LARGE_VIDEO_AVATAR_VISIBLE,
- onAvatarDisplayed);
+ onAvatarVisible);
return true;
},