瀏覽代碼

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

Signed-off-by: Jonathan <theflametrooper@gmail.com>
Jonathan 3 年之前
父節點
當前提交
73e4aa49a8
共有 1 個文件被更改,包括 1 次插入1 次删除
  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);