Do not use setVolume for storing global volume

This commit is contained in:
gabriel
2016-05-29 12:38:19 +02:00
committed by Feross Aboukhadijeh
parent 829206e921
commit e3c6049fdb
2 changed files with 4 additions and 4 deletions

View File

@@ -415,8 +415,7 @@ function setVolume (volume) {
if (isCasting()) {
Cast.setVolume(volume)
} else {
// Persist volume across videos
state.setVolume = volume
state.playing.setVolume = volume
}
}