Message List: Fix stale dark-green pattern color

This commit is contained in:
Alexander Zinchuk 2022-09-12 11:05:51 +02:00
parent 2f503b8fbc
commit bf4812f6cf

View File

@ -287,6 +287,11 @@ export function migrateCache(cached: GlobalState, initialState: GlobalState) {
stickers: [],
};
}
// TODO This was re-designed but can be hardcoded in cache
if (cached.settings.themes.light?.patternColor === 'rgba(90, 110, 70, 0.6)') {
cached.settings.themes.light.patternColor = undefined;
}
}
function updateCache() {