refactor cast module
* refactor cast module * fix standard * remove debug dependency
This commit is contained in:
@@ -242,10 +242,10 @@ function dispatch (action, ...args) {
|
||||
openTorrentContextMenu(args[0] /* infoHash */)
|
||||
}
|
||||
if (action === 'openChromecast') {
|
||||
lazyLoadCast().openChromecast()
|
||||
lazyLoadCast().open('chromecast')
|
||||
}
|
||||
if (action === 'openAirplay') {
|
||||
lazyLoadCast().openAirplay()
|
||||
lazyLoadCast().open('airplay')
|
||||
}
|
||||
if (action === 'stopCasting') {
|
||||
lazyLoadCast().stopCasting()
|
||||
|
||||
Reference in New Issue
Block a user