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

Commit 71cc848a authored by George Lin's avatar George Lin
Browse files

Make clock carousel extend ViewModel

Make clock carousel view model has the benefits:
1. view model scope can be used, so that we know what to create a new
   view model
2. Initial state is applied when new view model created
3. by making allClockIds we avoid redundently create many listeners for
   the clock registry

Test: manually test it works as what it is before
Bug: 278784119
Change-Id: Ie805725eee32e390c4442ccaea22a691b83ac106
parent 12147e69
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment