Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RNMobile] Set tintColor for ActionSheetIOS (#42996)
* Set tintColor on action sheets for iOS * [Code quality] Replace hex codes with CSS * [Code quality] Refine 'buttonTitleColor' const * Refactor code to use 'usePreferredColorScheme' 'usePreferredColorScheme' is used instead of 'usePreferredColorSchemeStyle' as only a hex code needs to be passed as a tintColor. * Refactor to workaround test failures The UI tests in Gutenberg Mobile were failing as 'styles' returns 'undefined' (in the tests) when called from the 'PickerComponent' function. Example: https://app.circleci.com/pipelines/github/wordpress-mobile/gutenberg-mobile/18255/workflows/16df0260-7972-465b-b400-ec37603dfd9e/jobs/100060 This commit seeks to workaround that error by only calling the internal styles from the main Picker class. Co-authored-by: David Calhoun <438664+dcalhoun@users.noreply.github.com>
- Loading branch information