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

Added location state in tracing card screen (EXPOSUREAPP-1757) (#879)


* Implemented state check for location

* formatting

* removed duplicate manifest item

* Update ConnectivityHelper.kt

* Update ConnectivityHelper.kt

* Added location type to TracingStatusHelper

Added location type to TracingStatusHelper as well as relevant String values

* added location paramater to TracingStatusHelper utilizing methods

added location paramater to TracingStatusHelper utilizing methods.

Implementation including location not yet included.

* Finalized TracingStatusHelper to include the location value

Finalized TracingStatusHelper to include the location value to be returned to Formatters in FormatterSettingsHelper

* formatting

* Update FormatterSettingsHelper.kt

* Update FormatterSettingsHelper.kt

* Added home screen implementation for location state

- Added logic to formatters adjust home screen tracing state based on location setting.
- Adjusted existing state tests to include location boolean value and results.
- Added location inactive icon.

* Update FormatterSettingsHelper.kt

* test changes to match formatter/helper changes

* Create ic_illustration_location_off.xml

* Added location state in tracing card screen

- Edited FormatterSettingsHelper.kt to include a visibility formatter based on location state.
- Edited SettingsTracingFragment.kt included a listener for location settings button.
- Added illustration for location missing in tracing screen.
- Edited fragment_settings_tracing.xml so that if location isn't on, a card explaining it should be turned on appears.
- Edited strings values to include required strings for card.

* Update strings.xml

* Updated strings for translation, keeping only confirmed DE and blank base string values

Updated strings for translation, keeping only confirmed DE and blank base string values

Co-authored-by: default avatarPhilipp Woessner <64482866+pwoessner@users.noreply.github.com>
parent 700b291a
No related branches found
No related tags found
No related merge requests found
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