HomePhabricator
Diffusion Comm abf2583fc896

[web] introduce redux persist migration for globalThemeInfo

Description

[web] introduce redux persist migration for globalThemeInfo

Summary:
We want to make sure that globalThemeInfo is persisted in redux. This diff creates a redux persist migration for globalThemeInfo

Part of https://linear.app/comm/issue/ENG-4958/update-theme-based-on-the-active-theme-redux-state

Depends on D9551

Test Plan:
Please see the following below:

globalThemeInfo is in my redux state

Screenshot 2023-10-20 at 3.23.10 AM.png (2×3 px, 1005 KB)

globalThemeInfo being persisted

Reviewers: atul, rohan, inka

Reviewed By: atul

Subscribers: ashoat, tomek, wyilio

Differential Revision: https://phab.comm.dev/D9552

Details

Provenance
ginsuAuthored on Oct 19 2023, 8:44 PM
Reviewer
atul
Differential Revision
D9552: [web] introduce redux persist migration for globalThemeInfo
Parents
rCOMM736e75a1fd24: [lib/native] introduce useUpdateSystemTheme
Branches
Unknown
Tags
Unknown