Page MenuHomePhabricator

[lib/native] lift theme types from native into lib
ClosedPublic

Authored by ginsu on Oct 18 2023, 9:02 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Feb 16, 2:42 AM
Unknown Object (File)
Sun, Feb 16, 2:42 AM
Unknown Object (File)
Sun, Feb 16, 2:42 AM
Unknown Object (File)
Sun, Feb 16, 2:42 AM
Unknown Object (File)
Sun, Feb 16, 2:36 AM
Unknown Object (File)
Jan 13 2025, 5:49 PM
Unknown Object (File)
Dec 31 2024, 7:09 PM
Unknown Object (File)
Dec 31 2024, 7:09 PM

Details

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 handles lifting the releveant theme types into lib

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

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

native/chat/settings/delete-thread.react.js
66 ↗(On Diff #32172)

We weren't using activeTheme anywhere in this component, so I just removed it

native/profile/edit-password.react.js
46 ↗(On Diff #32172)

We weren't using activeTheme anywhere in this component, so I just removed it

ginsu requested review of this revision.Oct 18 2023, 9:20 PM
This revision is now accepted and ready to land.Oct 19 2023, 11:17 AM