using this.state

This commit is contained in:
Alberto Miranda
2016-07-17 21:05:24 -03:00
parent 7677bff6d4
commit a695f7c2d7

View File

@@ -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) {