Deconflict lazy restore and app readiness.
This commit is contained in:
parent
0b03f275e2
commit
c646dbc560
@ -77,6 +77,9 @@ public class BackupLazyRestore: NSObject {
|
||||
public func runIfNecessary() {
|
||||
AssertIsOnMainThread()
|
||||
|
||||
guard AppReadiness.isAppReady() else {
|
||||
return
|
||||
}
|
||||
guard CurrentAppContext().isMainAppAndActive else {
|
||||
return
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user