Now that we lifted all the theme types into lib, the native file types would be better named as a utils file
Depends on D9528
Paths
| Differential D9529 Authored by ginsu on Oct 18 2023, 9:11 PM.
Details Summary Now that we lifted all the theme types into lib, the native file types would be better named as a utils file Depends on D9528 Test Plan flow and confirmed that updating the app theme on native still works as expected
Diff Detail
Event TimelineHerald added subscribers: will, tomek, ashoat. · View Herald TranscriptOct 18 2023, 9:11 PM2023-10-18 21:11:02 (UTC-7) ginsu edited the summary of this revision. (Show Details)Oct 18 2023, 9:12 PM2023-10-18 21:12:22 (UTC-7) Harbormaster completed remote builds in B23344: Diff 32173.Oct 18 2023, 9:28 PM2023-10-18 21:28:42 (UTC-7) This revision is now accepted and ready to land.Oct 19 2023, 11:23 AM2023-10-19 11:23:18 (UTC-7) Harbormaster completed remote builds in B23390: Diff 32237.Oct 19 2023, 3:30 PM2023-10-19 15:30:21 (UTC-7) Closed by commit rCOMM77d262dbe0cc: [native] rename native themes-types to theme-utils (authored by ginsu). · Explain WhyOct 19 2023, 5:55 PM2023-10-19 17:55:26 (UTC-7) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 32237 native/profile/appearance-preferences.react.js
native/themes/theme-handler.react.js
native/themes/theme-utils.js
native/types/themes.js
|
Related to my other comment, but I think it would be better to just not pass anything on web instead of null. majorDesktopVersion doesn't apply to the web in the same way as it doesn't apply to native.