Renames method.
This commit is contained in:
parent
9a39898eea
commit
f0fd7d7435
|
@ -43,7 +43,7 @@ export default class SharedVideoManager {
|
|||
return;
|
||||
}
|
||||
|
||||
proposeToClose().then(() =>
|
||||
showStopVideoPropmpt().then(() =>
|
||||
this.emitter.emit(UIEvents.UPDATE_SHARED_VIDEO, null, 'stop'));
|
||||
}
|
||||
|
||||
|
@ -433,7 +433,7 @@ function getYoutubeLink(url) {
|
|||
/**
|
||||
* Ask user if he want to close shared video.
|
||||
*/
|
||||
function proposeToClose() {
|
||||
function showStopVideoPropmpt() {
|
||||
return new Promise(function (resolve, reject) {
|
||||
messageHandler.openTwoButtonDialog(
|
||||
"dialog.removeSharedVideoTitle",
|
||||
|
|
Loading…
Reference in New Issue