Safer code.
This commit is contained in:
parent
25e3aa6fc4
commit
d5bf8ae42f
1 changed files with 3 additions and 1 deletions
|
|
@ -115,7 +115,9 @@ class DeveloperSettingsPresenter @Inject constructor(
|
|||
DeveloperSettingsEvents.ClearCache -> coroutineScope.clearCache(clearCacheAction)
|
||||
is DeveloperSettingsEvents.SetSimplifiedSlidingSyncEnabled -> coroutineScope.launch {
|
||||
appPreferencesStore.setSimplifiedSlidingSyncEnabled(event.isEnabled)
|
||||
logoutUseCase.logout(ignoreSdkError = true)
|
||||
runCatching {
|
||||
logoutUseCase.logout(ignoreSdkError = true)
|
||||
}
|
||||
}
|
||||
is DeveloperSettingsEvents.SetHideImagesAndVideos -> coroutineScope.launch {
|
||||
appPreferencesStore.setHideImagesAndVideos(event.value)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue