Move setIgnoreRegistrationError call.

This commit is contained in:
Benoit Marty
2024-06-17 14:19:28 +02:00
committed by Benoit Marty
parent 582fa30736
commit 26fd24b341

View File

@@ -66,9 +66,9 @@ class DefaultClearCacheUseCase @Inject constructor(
ftueService.reset()
// Clear migration screen store
migrationScreenStore.reset()
// Ensure the app is restarted
defaultCacheIndexProvider.onClearedCache(matrixClient.sessionId)
// Ensure any error will be displayed again
pushService.setIgnoreRegistrationError(matrixClient.sessionId, false)
// Ensure the app is restarted
defaultCacheIndexProvider.onClearedCache(matrixClient.sessionId)
}
}