Skip to content
Snippets Groups Projects
Unverified Commit e2c6ca3e authored by Oliver Zimmerman's avatar Oliver Zimmerman Committed by GitHub
Browse files

Implement Card on Homescreen "Ihr Testergebnis liegt vor" (EXPOSUREAPP-4212) (#1852)


* Started new card includes.

* Strings added, card layout complete

* Added boolean value for whether or not test result has been seen. Implemented new card.

* Adjusted true / false conditions

* Added navigation for new card and button.

* Added additional case where test result is negative and not seen

* Adjusted navigation, added check for positive card on homescreen to not show unless test result has been seen

* Added doNavigate - whoops.

* Lint fixes

* Adjust existing tests

* More test adjustments.

* More test adjustments

* Nicjed submissionSettings.hasViewedTestResult

* Removed duplicate string value.

* Make risk card visible with new card, regardless of result.

* Added small test for new card.

* Overhaul. Now using LiveData and observing within fragment for true/false value for 'gone' in XML layout

* Unfix the 'fixed' tests

* Lint, trailing comma

* Refix some tests that the unfixing didn't.... fix.

* Reset test related settings.

* Change button to match iOS design and actually make sense...

* Fixed merge regressions and adjusted card states.

* Adjusted tests after refactor

* Changes to not break reminder that was relying on changed function

* Test changes, instance now contains hasResultBeenSeen boolean

* More test adjustments

* Added resetTestRelatedSettings to removeTestFromDevice.

* Set to test related prefs to false within Repository rather than Settings.

Co-authored-by: default avatarMatthias Urhahn <matthias.urhahn@sap.com>
Co-authored-by: default avatarRalf Gehrer <ralfgehrer@users.noreply.github.com>
parent c8a0cfd0
No related branches found
No related tags found
No related merge requests found
Showing
with 216 additions and 27 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