diff options
author | Chocobozzz <me@florianbigard.com> | 2021-02-18 15:07:42 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-02-18 15:07:42 +0100 |
commit | 7a8d858e97abc144ecf85fbc672f52dc0576df27 (patch) | |
tree | e65f1ec5ce9a9fac0df152f8fa399fb10fd45d0f /client/src/app/core/users/user.service.ts | |
parent | 288bcd7a6002ebefc280d889c550b038d9dad502 (diff) | |
download | PeerTube-7a8d858e97abc144ecf85fbc672f52dc0576df27.tar.gz PeerTube-7a8d858e97abc144ecf85fbc672f52dc0576df27.tar.zst PeerTube-7a8d858e97abc144ecf85fbc672f52dc0576df27.zip |
Fix lint
Diffstat (limited to 'client/src/app/core/users/user.service.ts')
-rw-r--r-- | client/src/app/core/users/user.service.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/core/users/user.service.ts b/client/src/app/core/users/user.service.ts index 99ed3b407..f4850c3ba 100644 --- a/client/src/app/core/users/user.service.ts +++ b/client/src/app/core/users/user.service.ts | |||
@@ -274,7 +274,7 @@ export class UserService { | |||
274 | 274 | ||
275 | return new User({ | 275 | return new User({ |
276 | // local storage keys | 276 | // local storage keys |
277 | nsfwPolicy: this.localStorageService.getItem(UserLocalStorageKeys.NSFW_POLICY) as NSFWPolicyType, | 277 | nsfwPolicy: this.localStorageService.getItem(UserLocalStorageKeys.NSFW_POLICY), |
278 | webTorrentEnabled: this.localStorageService.getItem(UserLocalStorageKeys.WEBTORRENT_ENABLED) !== 'false', | 278 | webTorrentEnabled: this.localStorageService.getItem(UserLocalStorageKeys.WEBTORRENT_ENABLED) !== 'false', |
279 | theme: this.localStorageService.getItem(UserLocalStorageKeys.THEME) || 'instance-default', | 279 | theme: this.localStorageService.getItem(UserLocalStorageKeys.THEME) || 'instance-default', |
280 | videoLanguages, | 280 | videoLanguages, |