using this.state
This commit is contained in:
@@ -198,7 +198,7 @@ function openPlayer (state, infoHash, index, cb) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function getOpenInVlc () {
|
function getOpenInVlc () {
|
||||||
return state.saved.prefs.playInVlc
|
return this.state.saved.prefs.playInVlc
|
||||||
}
|
}
|
||||||
|
|
||||||
function openPlayerFromActiveTorrent (state, torrentSummary, index, timeout, cb) {
|
function openPlayerFromActiveTorrent (state, torrentSummary, index, timeout, cb) {
|
||||||
|
|||||||
Reference in New Issue
Block a user