Skip to content

[BUG] - Setting toolbar color to White does nothing #437

Description

@Devenom1
  • Lib Version [4.3.2]

Describe the bug

Setting the toolbar color to Color.WHITE doesn't work.

This happens because of a condition checking if toolbar color is -1 assume it's not set. Unfortunately -1 is also the value of Color.WHITE.

PS: I had made this feature. Will fix it

To Reproduce

Steps to reproduce the behavior:

  1. Use the setToolbarColor method to set the toolbar color to white. The method will be setToolbarColor(Color.WHITE)

Expected behavior
The toolbar should change to white but it doesn't happen

Media
image

Notice how the toolbar color is still purple and not changed to white

Smartphone (please complete the following information):

  • Any Device

Additional context
I think we will need to add options to change toolbar title color and the toolbar back button and other toolbar text

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions