File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ import useScrollContext from '@hooks/useScrollContext';
1414import useTheme from '@hooks/useTheme' ;
1515import useThemeStyles from '@hooks/useThemeStyles' ;
1616import { isMobile } from '@libs/Browser' ;
17- import getOperatingSystem from '@libs/getOperatingSystem' ;
1817import CONST from '@src/CONST' ;
1918import getAccessibilityLabelConfig from './getAccessibilityLabelConfig' ;
2019import type { BasePickerProps } from './types' ;
@@ -145,16 +144,7 @@ function BasePicker<TPickerValue>({
145144 } ,
146145 } ) ) ;
147146
148- /**
149- * We pass light text on Android, since Android Native alerts have a dark background in all themes for now.
150- */
151- const itemColor = useMemo ( ( ) => {
152- if ( getOperatingSystem ( ) === CONST . OS . ANDROID ) {
153- return theme . textLight ;
154- }
155-
156- return theme . text ;
157- } , [ theme ] ) ;
147+ const itemColor = theme . text ;
158148
159149 // Windows will reuse the text color of the select for each one of the options
160150 // so we might need to color accordingly so it doesn't blend with the background.
You can’t perform that action at this time.
0 commit comments