Clear onboarding from storage service restore.

This commit is contained in:
Michelle Tang
2026-09-02 16:11:30 -03:00
committed by Alex Hart
parent e3ff228684
commit 5a80c53639
2 changed files with 1 additions and 1 deletions
@@ -35,6 +35,7 @@ object StorageServiceRestore {
val stopwatch = Stopwatch("storage-service-restore")
SignalStore.storageService.needsAccountRestore = false
SignalStore.onboarding.clearAll()
AppDependencies.jobManager.runJobBlocking(StorageAccountRestoreJob(), StorageAccountRestoreJob.LIFESPAN.milliseconds)
stopwatch.split("account-restore")
@@ -143,7 +143,6 @@ class RestoreLocalBackupActivityViewModel : ViewModel() {
Log.w(TAG, "Local backup does not match current account, not re-enabling local backups")
}
SignalStore.onboarding.clearAll()
StorageServiceRestore.restore()
RegistrationUtil.maybeMarkRegistrationComplete()