aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--client/src/app/core/users/user-local-storage.service.ts3
-rw-r--r--client/src/app/shared/shared-user-settings/user-video-settings.component.ts5
2 files changed, 6 insertions, 2 deletions
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 {
125 const localStorageKeys: { [ id in keyof UserUpdateMe ]: string } = { 125 const localStorageKeys: { [ id in keyof UserUpdateMe ]: string } = {
126 nsfwPolicy: UserLocalStorageKeys.NSFW_POLICY, 126 nsfwPolicy: UserLocalStorageKeys.NSFW_POLICY,
127 p2pEnabled: UserLocalStorageKeys.P2P_ENABLED, 127 p2pEnabled: UserLocalStorageKeys.P2P_ENABLED,
128 autoPlayNextVideo: UserLocalStorageKeys.AUTO_PLAY_VIDEO, 128 autoPlayVideo: UserLocalStorageKeys.AUTO_PLAY_VIDEO,
129 autoPlayNextVideo: UserLocalStorageKeys.AUTO_PLAY_NEXT_VIDEO,
129 autoPlayNextVideoPlaylist: UserLocalStorageKeys.AUTO_PLAY_VIDEO_PLAYLIST, 130 autoPlayNextVideoPlaylist: UserLocalStorageKeys.AUTO_PLAY_VIDEO_PLAYLIST,
130 theme: UserLocalStorageKeys.THEME, 131 theme: UserLocalStorageKeys.THEME,
131 videoLanguages: UserLocalStorageKeys.VIDEO_LANGUAGES 132 videoLanguages: UserLocalStorageKeys.VIDEO_LANGUAGES
diff --git a/client/src/app/shared/shared-user-settings/user-video-settings.component.ts b/client/src/app/shared/shared-user-settings/user-video-settings.component.ts
index af0870f12..ed6e7fffd 100644
--- a/client/src/app/shared/shared-user-settings/user-video-settings.component.ts
+++ b/client/src/app/shared/shared-user-settings/user-video-settings.component.ts
@@ -127,6 +127,9 @@ export class UserVideoSettingsComponent extends FormReactive implements OnInit,
127 127
128 private updateAnonymousProfile (details: UserUpdateMe) { 128 private updateAnonymousProfile (details: UserUpdateMe) {
129 this.userService.updateMyAnonymousProfile(details) 129 this.userService.updateMyAnonymousProfile(details)
130 if (this.notifyOnUpdate) this.notifier.success($localize`Display/Video settings updated.`) 130
131 if (this.notifyOnUpdate) {
132 this.notifier.success($localize`Display/Video settings updated.`)
133 }
131 } 134 }
132} 135}