Skip to content
Snippets Groups Projects
Unverified Commit e90f5e3d authored by Alex Paulescu's avatar Alex Paulescu Committed by GitHub
Browse files

Delete country list cache (EXPOSUREAPP-3154) (#1431)


* Refactored DataRetentionHelper class to use injection

* Added ViewModel to SettingsReset

* Add a clear cache method to AppConfigProvider.kt

* Fixed repository live data containing stale data after app reset.

* Moved logic from fragment to view model.

* Adjusted tests to accommodate AppConfigProvider changes

* Reverted back last 2 commits and downgraded ktlint plugin

* Fixed DI issue

* Put the scope in the hands of the VM

* Deleted unused imports

* Removed unused imports from VM

* Use injected dispatcher provider to simplify testing.

Co-authored-by: default avatarMatthias Urhahn <matthias.urhahn@sap.com>
Co-authored-by: default avatarAlexanderAlferov <64849422+AlexanderAlferov@users.noreply.github.com>
Co-authored-by: default avatarharambasicluka <64483219+harambasicluka@users.noreply.github.com>
parent b29bf382
No related branches found
No related tags found
No related merge requests found
Showing
with 293 additions and 193 deletions
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