HomePhabricator
Diffusion Comm 476f6b9930f3

[lib/native/web] lift globalThemeInfo redux state into lib

Description

[lib/native/web] lift globalThemeInfo redux state into lib

Summary:
Now that we want to bring updateThemeInfo redux actions/state into web as well there are several things we should lift from native into lib so that we can share them across both platforms. This diff lifts globalThemeInfo into the master reducer in lib. We also need to add globalThemeInfo to the web redux setup. (Had to do this in one diff to appease flow)

Part of https://linear.app/comm/issue/ENG-4956/lift-any-necessary-shared-types-selectors-functions-for-storing-the

Test Plan:
flow and confirmed that updating the app theme on native still works as expected. Also followed the test plan outlined in D7891 to make sure I didn't cause any regressions with reseting the theme on log out

Reviewers: atul, inka, rohan

Reviewed By: atul

Subscribers: ashoat, tomek, wyilio

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

Details

Provenance
ginsuAuthored on Oct 18 2023, 8:57 PM
Reviewer
atul
Differential Revision
D9550: [lib/native/web] lift globalThemeInfo redux state into lib
Parents
rCOMMb89f55c87e69: [web] Create new chat button creates chat in GENESIS community only
Branches
Unknown
Tags
Unknown