]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/users/user.model.ts
WIP plugins: add theme support
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / users / user.model.ts
index 95a6ce9f946d5cd90af3a605257ef86193a3fff6..53809f82c6e6d9fd41c32d3e8616623fa0d0a20c 100644 (file)
@@ -26,6 +26,8 @@ export class User implements UserServerModel {
   videoChannels: VideoChannel[]
   createdAt: Date
 
+  theme: string
+
   adminFlags?: UserAdminFlag
 
   blocked: boolean
@@ -49,6 +51,8 @@ export class User implements UserServerModel {
     this.autoPlayVideo = hash.autoPlayVideo
     this.createdAt = hash.createdAt
 
+    this.theme = hash.theme
+
     this.adminFlags = hash.adminFlags
 
     this.blocked = hash.blocked