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

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

[Sb refactor] Move icon to the interactor

MobileIconViewModel was doing a little bit too much business logic to
calculate the correct SignalDrawble icon for the view. This logic will
also be needed elsewhere, so it makes sense to move the calculation to
the Interactor.

It is still up to the ViewModel to map from the icon model into actual
UI via the binder, so this shouldn't change anything other than where to
look for the model.

Test: MobileIconInteractorTest
Test: MobileIconViewModelTest
Bug: 265342892
Change-Id: I85bad6310485a4ea57c4b32e3fd632868779212f
parent ddb303bb
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