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:
- 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

Notice how the toolbar color is still purple and not changed to white
Smartphone (please complete the following information):
Additional context
I think we will need to add options to change toolbar title color and the toolbar back button and other toolbar text
Describe the bug
Setting the toolbar color to
Color.WHITEdoesn't work.This happens because of a condition checking if toolbar color is
-1assume it's not set. Unfortunately-1is also the value ofColor.WHITE.PS: I had made this feature. Will fix it
To Reproduce
Steps to reproduce the behavior:
setToolbarColormethod to set the toolbar color to white. The method will besetToolbarColor(Color.WHITE)Expected behavior
The toolbar should change to white but it doesn't happen
Media

Notice how the toolbar color is still purple and not changed to white
Smartphone (please complete the following information):
Additional context
I think we will need to add options to change toolbar title color and the toolbar back button and other toolbar text