From b1d8261c458f5c9a800539d0aebc749e53dfcdbe Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 23 Jan 2023 15:24:58 +0100 Subject: Fix auto play setting for anonymous users --- client/src/app/core/users/user-local-storage.service.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'client/src/app/core') diff --git a/client/src/app/core/users/user-local-storage.service.ts b/client/src/app/core/users/user-local-storage.service.ts index a047efe8e..d5fd1e447 100644 --- a/client/src/app/core/users/user-local-storage.service.ts +++ b/client/src/app/core/users/user-local-storage.service.ts @@ -125,7 +125,8 @@ export class UserLocalStorageService { const localStorageKeys: { [ id in keyof UserUpdateMe ]: string } = { nsfwPolicy: UserLocalStorageKeys.NSFW_POLICY, p2pEnabled: UserLocalStorageKeys.P2P_ENABLED, - autoPlayNextVideo: UserLocalStorageKeys.AUTO_PLAY_VIDEO, + autoPlayVideo: UserLocalStorageKeys.AUTO_PLAY_VIDEO, + autoPlayNextVideo: UserLocalStorageKeys.AUTO_PLAY_NEXT_VIDEO, autoPlayNextVideoPlaylist: UserLocalStorageKeys.AUTO_PLAY_VIDEO_PLAYLIST, theme: UserLocalStorageKeys.THEME, videoLanguages: UserLocalStorageKeys.VIDEO_LANGUAGES -- cgit v1.2.3