Page MenuHomePhabricator

D9552.diff
No OneTemporary

D9552.diff

diff --git a/web/redux/persist.js b/web/redux/persist.js
--- a/web/redux/persist.js
+++ b/web/redux/persist.js
@@ -23,6 +23,7 @@
defaultConnectionInfo,
type ConnectionInfo,
} from 'lib/types/socket-types.js';
+import { defaultGlobalThemeInfo } from 'lib/types/theme-types.js';
import { parseCookies } from 'lib/utils/cookie-utils.js';
import { isDev } from 'lib/utils/dev-utils.js';
import {
@@ -163,6 +164,10 @@
},
};
},
+ [8]: async state => ({
+ ...state,
+ globalThemeInfo: defaultGlobalThemeInfo,
+ }),
};
const persistWhitelist = [
@@ -172,6 +177,7 @@
'notifPermissionAlertInfo',
'commServicesAccessToken',
'keyserverStore',
+ 'globalThemeInfo',
];
const rootKey = 'root';
@@ -275,7 +281,7 @@
{ debug: isDev },
migrateStorageToSQLite,
): any),
- version: 7,
+ version: 8,
transforms: [keyserverStoreTransform],
};

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 22, 8:48 PM (18 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2564868
Default Alt Text
D9552.diff (893 B)

Event Timeline