-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor out single use logic from SurveyRepository to existing use c…
…ases (#3017) * Simplify tests for MakeSurveyAvailableOfflineUseCase * Cleanup tests for removeOfflineSurvey() This is in preparation for moving loadAndSyncSurveyWithRemote() out of SurveyRepository * Move logic for fetching and saving survey to SyncSurveyUseCase * Inline subscribeToSurveyUpdates in MakeSurveyAvailableOfflineUseCase * Fix detekt warnings * Merge survey active check with ReactivateLastSurveyUseCase * Create methods for activating survey instead of directly accessing internal variable * Automatically added GitHub issue links to TODOs
- Loading branch information
1 parent
553abda
commit a0975c3
Showing
14 changed files
with
207 additions
and
214 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.