menu icon indicating copy to clipboard operation
menu copied to clipboard

Setting image without imageColor

Open buraks opened this issue 1 year ago • 1 comments

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?

IMG_FE7CEEF661F4-1

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',
  },
]}

buraks avatar Jan 06 '25 17:01 buraks

Did you manage to fix this? I am facing the same issue.

fernando-notari avatar Oct 28 '25 05:10 fernando-notari