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

Skip to content
Commit 376a02bd authored by Evan Laird's avatar Evan Laird
Browse files

[Sb refactor] Remove some unused fields from MobileIconInteractor

Now that MobileIconInteractor provides an [icon] field, we can remove
some unused public fields that were all being calculated in the view
model. This simplifies the overall structure of the interactor -> view
model relationship, but it comes at the cost of requiring us to use the
real interactor implementations in tests.

Oh did I mention I updated the MobileIconViewModel tests to use the real
interactors. You now have to be pretty familiar with the data model
itself to understand what is happening in the tests. And there is more
work to be done with the fake repos, which still rely on the
externally-defined MobileMappings class.

Test: tests in statusbar/pipeline/*
Bug: 265342892
Change-Id: Ie85d92ad9d29f9d6d0c45ad72ca1c5e51482229b
parent a388ad63
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