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

Colors get added to the bottom of example colors on color sheet #25

Closed russellbanks closed 3 years ago

russellbanks commented 3 years ago

Describe the bug Adding colors onto a color sheet just appends the colors onto the example colors already provided.

Library Version: 1.1.1

To Reproduce Steps to reproduce the behavior:

  1. Pass a set of colors through colors()

Expected behavior The colors that are passed through colors() should be the only ones shown in the bottom sheet

Screenshots I have attached a video showing this bug in my app. As you can see, I have added 12 colors which have just been appended to the bottom of the example colors.

https://user-images.githubusercontent.com/74878137/103484567-b090dd00-4de7-11eb-8594-9f161c0b4f06.mp4

Additional context The sample app doesn't seem to pass anything through colors() but still shows the example colors