menu
menu copied to clipboard
Setting image without imageColor
on iOS we have noticed that if you don't set the imageColor, the image is not visible. when you set however, it's a fixed color, so while the titleColor automatically adjust depending on light/dark modes, the imageColor remains fixed.
What is the suggested method here?
actions={[
{
id: 'automatic',
title: t`Automatic`,
image: Platform.select({ ios: 'gear' }),
imageColor: 'black',
},
{
id: 'light',
title: t`Light`,
image: Platform.select({ ios: 'sun.max' }),
imageColor: 'black',
},
{
id: 'dark',
title: t`Dark`,
image: Platform.select({ ios: 'moon' }),
imageColor: 'black',
},
]}
Did you manage to fix this? I am facing the same issue.