expo / expo/react-native-action-sheet
If IOS is forced to dark mode, userInterfaceStyle prop doesnt override it.
- Dominant language
- TypeScript
- Stars
- 1.6k
- Forks
- 223
- PR merge metrics
- No merged PRs in 30d
Description
props.showActionSheetWithOptions(
{
options: calcValArray,
destructiveButtonIndex: _.indexOf(
calcValArray,
prayerSettings.caclMethod,
),
cancelButtonIndex: 0,
useModal: true,
userInterfaceStyle: 'light',
},
(buttonIndex) => {
if (buttonIndex !== 0)
setCalcMethod(
calcValArray[buttonIndex],
);
},
);
in the above example IOS physical phone is forced to Dark Mode. But if sheet is opened with light interfaceStyle. it still opens as dark.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.