Forráskód Böngészése

fix(mobile): incorrect way of using vuex when trying to updated localPaused

Signed-off-by: Jonathan <theflametrooper@gmail.com>
Jonathan 4 éve
szülő
commit
73e4aa49a8
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      frontend/src/pages/Station/index.vue

+ 1 - 1
frontend/src/pages/Station/index.vue

@@ -1153,7 +1153,7 @@ export default {
 							this.playVideo();
 							this.playVideo();
 
 
 							// on ios, playback will be forcibly paused locally
 							// on ios, playback will be forcibly paused locally
-							if (this.isIOS) this.localPaused = true;
+							if (this.isIOS) this.updateLocalPaused(true);
 						},
 						},
 						onError: err => {
 						onError: err => {
 							console.log("error with youtube video", err);
 							console.log("error with youtube video", err);