style(RingOverlay): Rename onAvatarDisplayed to onAvatarVisible

This commit is contained in:
hristoterezov 2016-10-19 15:58:36 -05:00
parent 4acfb033c8
commit 58a07355fb
1 changed files with 3 additions and 3 deletions

View File

@ -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;
},