Jelajahi Sumber

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

Signed-off-by: Jonathan <theflametrooper@gmail.com>
Jonathan 4 tahun lalu
induk
melakukan
73e4aa49a8
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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();
 
 							// on ios, playback will be forcibly paused locally
-							if (this.isIOS) this.localPaused = true;
+							if (this.isIOS) this.updateLocalPaused(true);
 						},
 						onError: err => {
 							console.log("error with youtube video", err);