mirror of https://github.com/Chocobozzz/PeerTube
Fix lint
parent
288bcd7a60
commit
7a8d858e97
|
@ -274,7 +274,7 @@ export class UserService {
|
||||||
|
|
||||||
return new User({
|
return new User({
|
||||||
// local storage keys
|
// local storage keys
|
||||||
nsfwPolicy: this.localStorageService.getItem(UserLocalStorageKeys.NSFW_POLICY) as NSFWPolicyType,
|
nsfwPolicy: this.localStorageService.getItem(UserLocalStorageKeys.NSFW_POLICY),
|
||||||
webTorrentEnabled: this.localStorageService.getItem(UserLocalStorageKeys.WEBTORRENT_ENABLED) !== 'false',
|
webTorrentEnabled: this.localStorageService.getItem(UserLocalStorageKeys.WEBTORRENT_ENABLED) !== 'false',
|
||||||
theme: this.localStorageService.getItem(UserLocalStorageKeys.THEME) || 'instance-default',
|
theme: this.localStorageService.getItem(UserLocalStorageKeys.THEME) || 'instance-default',
|
||||||
videoLanguages,
|
videoLanguages,
|
||||||
|
|
Loading…
Reference in New Issue