mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-09-19 16:24:41 +01:00
Clear onboarding from storage service restore.
This commit is contained in:
+1
@@ -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")
|
||||
|
||||
-1
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user