Move setIgnoreRegistrationError call.
This commit is contained in:
parent
582fa30736
commit
26fd24b341
1 changed files with 2 additions and 2 deletions
|
|
@ -66,9 +66,9 @@ class DefaultClearCacheUseCase @Inject constructor(
|
||||||
ftueService.reset()
|
ftueService.reset()
|
||||||
// Clear migration screen store
|
// Clear migration screen store
|
||||||
migrationScreenStore.reset()
|
migrationScreenStore.reset()
|
||||||
// Ensure the app is restarted
|
|
||||||
defaultCacheIndexProvider.onClearedCache(matrixClient.sessionId)
|
|
||||||
// Ensure any error will be displayed again
|
// Ensure any error will be displayed again
|
||||||
pushService.setIgnoreRegistrationError(matrixClient.sessionId, false)
|
pushService.setIgnoreRegistrationError(matrixClient.sessionId, false)
|
||||||
|
// Ensure the app is restarted
|
||||||
|
defaultCacheIndexProvider.onClearedCache(matrixClient.sessionId)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue