Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting image without imageColor #1002

Open
buraks opened this issue Jan 6, 2025 · 0 comments
Open

Setting image without imageColor #1002

buraks opened this issue Jan 6, 2025 · 0 comments

Comments

@buraks
Copy link

buraks commented Jan 6, 2025

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',
  },
]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant