diff options
Diffstat (limited to 'src/config.ts')
-rw-r--r-- | src/config.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/config.ts b/src/config.ts index a753a36f..09a3ebfb 100644 --- a/src/config.ts +++ b/src/config.ts @@ -137,6 +137,9 @@ interface SBStorage { /* VideoID prefixes to UUID prefixes */ downvotedSegments: Record<VideoID & HashedValue, VideoDownvotes>; navigationApiAvailable: boolean; + + // Used when sync storage disbaled + alreadyInstalled: boolean; } class ConfigClass extends ProtoConfig<SBConfig, SBStorage> { @@ -456,7 +459,8 @@ const syncDefaults = { const localDefaults = { downvotedSegments: {}, - navigationApiAvailable: null + navigationApiAvailable: null, + alreadyInstalled: false }; const Config = new ConfigClass(syncDefaults, localDefaults, migrateOldSyncFormats); |