소스 검색

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

Signed-off-by: Jonathan <theflametrooper@gmail.com>
Jonathan 4 년 전
부모
커밋
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);