Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Framasoft
PeerTube
PeerTube
Commits
8ca52bcc
Verified
Commit
8ca52bcc
authored
Jan 23, 2023
by
Chocobozzz
Browse files
Merge branch 'release/5.0.0' into develop
parents
ff71e06a
b1d8261c
Changes
2
Hide whitespace changes
Inline
Side-by-side
client/src/app/core/users/user-local-storage.service.ts
View file @
8ca52bcc
...
...
@@ -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
...
...
client/src/app/shared/shared-user-settings/user-video-settings.component.ts
View file @
8ca52bcc
...
...
@@ -127,6 +127,9 @@ export class UserVideoSettingsComponent extends FormReactive implements OnInit,
private
updateAnonymousProfile
(
details
:
UserUpdateMe
)
{
this
.
userService
.
updateMyAnonymousProfile
(
details
)
if
(
this
.
notifyOnUpdate
)
this
.
notifier
.
success
(
$localize
`Display/Video settings updated.`
)
if
(
this
.
notifyOnUpdate
)
{
this
.
notifier
.
success
(
$localize
`Display/Video settings updated.`
)
}
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment