Skip to content
Snippets Groups Projects
Unverified Commit e6992006 authored by Fabian-K's avatar Fabian-K Committed by GitHub
Browse files

Submission Improvement (#438)

* Warn Others Fragment
- control button enabled and progressbar visible via databinding & formatter
- remove requestPermissionToShareKeys() from onResume which causes multiple submissions to be triggered
- remove unnecessary state submissionRequested & submissionFailed
- add rudimentary error handling to onFailure of exposure notification API <- needs to be confirmed!!

SubmissionViewModel
- inline executeRequestWithStateForEvent
- changed submissionState from Event<ApiRequestState> to ApiRequestState to enable use of formatter
- use postValue to update from background thread

misc:
- remove unused formatShowTanCharacterError method

* Warn Others
- adjust onFailure handling
parent 6c43811d
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