Remove debug info (#1151)
This commit is contained in:
parent
6641b0b028
commit
0b0f70e96e
@ -72,7 +72,7 @@ function readCache(initialState: GlobalState) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (cached) {
|
if (cached) {
|
||||||
// Pre-fill defaults for new settings which may be missing in older cache
|
// Pre-fill defaults in nested objects which may be missing in older cache
|
||||||
cached.settings.byKey = {
|
cached.settings.byKey = {
|
||||||
...initialState.settings.byKey,
|
...initialState.settings.byKey,
|
||||||
...cached.settings.byKey,
|
...cached.settings.byKey,
|
||||||
@ -81,6 +81,10 @@ function readCache(initialState: GlobalState) {
|
|||||||
...initialState.settings.themes,
|
...initialState.settings.themes,
|
||||||
...cached.settings.themes,
|
...cached.settings.themes,
|
||||||
};
|
};
|
||||||
|
cached.chatFolders = {
|
||||||
|
...initialState.chatFolders,
|
||||||
|
...cached.chatFolders,
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user