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

Skip to content
Commit 960f97d2 authored by Catherine Liang's avatar Catherine Liang Committed by George Lin
Browse files

Dynamic Color Tile Update

Update wallpaper color tile preview mapping in revamped UI. Also
adjusted to adapt to new requirement for color preview to be different
between ligth and dark theme. Instead of providing color preview based
on light or dark theme in the view model, which isn't aware of context
changes, this CL refactors so that light and dark colors are both
included in the view model and then binded based on the view's context.

Colors in Original UI: https://screenshot.googleplex.com/paBb2pTDc3UrjS8.png
Colors in Revamped UI Dark Theme: https://screenshot.googleplex.com/5RWjka3KkZZNHLE.png
Colors in Revamped UI Light Theme: https://screenshot.googleplex.com/3ySrCMuuTzjEmPo.png

Bug: 275625332
Test: Verified manually on both revamped and original UI, and verified
that colors change when dark theme toggle is updated. Also made sure
color picker interactor and view model tests still pass

Change-Id: I4299aa5d4132646f1516599f9f7f77ce4d740a09
parent fe07d1ce
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