Skip to content

Change tintColor and fontStyle.color is lost #641

Description

@padge

I'm trying to use this component to change my app's theme from light to dark.

The fontStyle.color prop works on first render, but when I change tintColor prop (light and dark have slightly different tints) the fontStyle.color style is lost and tintColor is used for the font color instead.

If I keep tintColor the same and only change fontStyle.color (when switching from light to dark), then the font color is correct. It's only when tintColor changes to a different value does the error happen.

Using version 2.4.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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