Skip to content

Setting image without imageColor #1002

@buraks

Description

@buraks

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions