Merge branch 'charlesmchen/lazyRestoreVsAppReadiness'
This commit is contained in:
commit
d5b2b2cdd3
@ -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