Skip to content

[BUG] using pickerTheme argument always causes error  #22

@SchnMar

Description

@SchnMar

Describe the bug (描述)
Using a customPickerTheme as an argument always causes an error "'Theme and theme color cannot be set at the same time.'"

How to reproduce (如何复现)
This is caused as the optional parameter themeColor has a standard value of C.themeColor when no value is passed as an argument. You have to explicitly set themeColor to null to use a customPickerTheme.

Expected behavior (期望行为)
Using customPickerTheme without having to explicitly set themeColor to null is possible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    s: bugSomething isn't working.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions