Skip to content

ThemeManager - Adding deprecation warning for 'setTheme()'. #961

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 15, 2020

Conversation

Inbal-Tish
Copy link
Collaborator

@Inbal-Tish Inbal-Tish commented Sep 29, 2020

Description

ThemeManager - Adding deprecation warning for 'setTheme()' to start the deprecation process before removing the method on the next major version.
Removing all usages of ThemeManager global constants - 'primaryColor', 'CTA', 'titleColor' etc.

Changelog

ThemeManager - Starting deprecation process for 'setTheme()' method.

Removing ThemeManager theme colors usage;
Setting Colors.primary instead of ThemeManager.primaryColor;
Moving TouchableOpacity defaultProps from ThemeManager to the component.
@Inbal-Tish
Copy link
Collaborator Author

@ethanshar I added to this PR the removal of all usages of the ThemeManager global constants.

@ethanshar ethanshar merged commit 634e800 into master Oct 15, 2020
@Inbal-Tish Inbal-Tish deleted the infra/ThemeManager_setTheme_deprecation branch October 19, 2020 07:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants