Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 0587b45d authored by Catherine Liang's avatar Catherine Liang
Browse files

New Monochrome Color Preview

To allow Monochrome tile to be displayed similar to a wallpaper color,
code was refactored to use a singular color option class for both
wallpaper and basic colors going forward to allow more flexibility. The
ColorOptionImpl class unifies ColorBundle and ColorSeedOption for
revamped UI and beyond, since the two ColorOption types differ mainly
in their preview. This refactor will also move toward cleaner
architecture by removing ColorOption's ability to bind views in the
revamped UI and beyond, keeping it soley as a model.

Bug: 275625332
Bug: 270187739
Test: Manually tested in revamped UI and original UI
Test: Adjusted fake repository for new ColorOptionImpl model, interactor
and view-model unit tests still pass with the same logic

Change-Id: I5d61cecd7e17c2327a3b0eed52c5d7d57769ac62
parent a4e5a624
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment