maxkeppeler / sheets

⭐ ‎‎‎‏‏‎ ‎Offers a range of beautiful sheets (dialogs & bottom sheets) for quick use in your project. Includes many ways to customize sheets.
https://maxkeppeler.github.io/sheets/
Apache License 2.0
921 stars 77 forks source link

Color Sheet disableSwitchColorView icon remains #23

Closed russellbanks closed 3 years ago

russellbanks commented 3 years ago

Describe the bug On the color sheet, disableSwitchColorView() disables the ability to switch to the custom color view. However, the icon still remains - it just doesn't do anything.

Library Version: 1.1.0

To Reproduce Steps to reproduce the behavior:

  1. Add disableSwitchColorView() to the code
  2. The icon to switch the color view remains

Expected behavior The icon should go away if disableSwitchColorView() is enabled.

Screenshots I've attached a video showing this bug in the sample app

Sample app

maxkeppeler commented 3 years ago

Thank you a lot. I'm sorry for the 2 issues you have reported - I've rushed a bit with the release.