From: Chocobozzz Date: Fri, 5 Jun 2020 07:15:59 +0000 (+0200) Subject: Fix default anonymous theme X-Git-Tag: v2.3.0-rc.1~200 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;ds=sidebyside;h=3e95b6834304ebbff7d796a6a5e096e52813bc77;p=github%2FChocobozzz%2FPeerTube.git Fix default anonymous theme --- diff --git a/client/src/app/shared/users/user.service.ts b/client/src/app/shared/users/user.service.ts index abb4088b5..7c1ae5799 100644 --- a/client/src/app/shared/users/user.service.ts +++ b/client/src/app/shared/users/user.service.ts @@ -254,7 +254,7 @@ export class UserService { // local storage keys nsfwPolicy: this.localStorageService.getItem(User.KEYS.NSFW_POLICY) as NSFWPolicyType, webTorrentEnabled: this.localStorageService.getItem(User.KEYS.WEBTORRENT_ENABLED) !== 'false', - theme: this.localStorageService.getItem(User.KEYS.THEME) || 'default', + theme: this.localStorageService.getItem(User.KEYS.THEME) || 'instance-default', videoLanguages, autoPlayNextVideoPlaylist: this.localStorageService.getItem(User.KEYS.AUTO_PLAY_VIDEO_PLAYLIST) !== 'false',