style(RingOverlay): Rename onAvatarDisplayed to onAvatarVisible
This commit is contained in:
parent
4acfb033c8
commit
58a07355fb
|
@ -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;
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue