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