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

Skip to content
Commit 06e0eb2c authored by Bryce Lee's avatar Bryce Lee
Browse files

Share selection state between BaseCommunalViewModel implementations.

CommunalViewModel and the edit variant both separately store selection
information. This leads to ferrying of selection data between the
two models which can get out of sync. This changelist addresses it by
having all BaseCommunalViewModel subclasses share a single selection
flow.

Test: atest CommunalViewModelTest#selectedKey_changeAffectsAllInstances
Test: atest CommunalInteractorTest#settingSelectedKey_flowUpdated
Fixes: 359419762
Flag: EXEMPT bugfix
Change-Id: I0bab6f29016f61f9bc2413f5ac22f5e6a65477ac
parent 0d12496f
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