about summary refs log tree commit diff
path: root/src/state/models/root-store.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/state/models/root-store.ts')
-rw-r--r--src/state/models/root-store.ts6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/state/models/root-store.ts b/src/state/models/root-store.ts
index 288e8b8e1..6d7c2c12e 100644
--- a/src/state/models/root-store.ts
+++ b/src/state/models/root-store.ts
@@ -15,7 +15,6 @@ import {ProfilesCache} from './cache/profiles-view'
 import {PostsCache} from './cache/posts'
 import {LinkMetasCache} from './cache/link-metas'
 import {MeModel} from './me'
-import {PreferencesModel} from './ui/preferences'
 import {resetToTab} from '../../Navigation'
 import {ImageSizesCache} from './cache/image-sizes'
 import {reset as resetNavigation} from '../../Navigation'
@@ -39,7 +38,6 @@ export class RootStoreModel {
   appInfo?: AppInfo
   session = new SessionModel(this)
   shell = new ShellUiModel(this)
-  preferences = new PreferencesModel(this)
   me = new MeModel(this)
   handleResolutions = new HandleResolutionsCache()
   profiles = new ProfilesCache(this)
@@ -64,7 +62,6 @@ export class RootStoreModel {
     return {
       appInfo: this.appInfo,
       me: this.me.serialize(),
-      preferences: this.preferences.serialize(),
     }
   }
 
@@ -79,9 +76,6 @@ export class RootStoreModel {
       if (hasProp(v, 'me')) {
         this.me.hydrate(v.me)
       }
-      if (hasProp(v, 'preferences')) {
-        this.preferences.hydrate(v.preferences)
-      }
     }
   }