|
|
|
|
@ -129,7 +129,7 @@ public class StoreCenter { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@objc fileprivate func _willEnterForegroundNotification() { |
|
|
|
|
Logger.log("_willEnterForegroundNotification") |
|
|
|
|
// Logger.log("_willEnterForegroundNotification") |
|
|
|
|
self._launchSynchronization() |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -464,7 +464,7 @@ public class StoreCenter { |
|
|
|
|
|
|
|
|
|
let syncGetCollection: ApiCallCollection<GetSyncData> = try self.apiCallCollection() |
|
|
|
|
if await syncGetCollection.hasPendingCalls() { |
|
|
|
|
await syncGetCollection.rescheduleApiCallsIfNecessary() |
|
|
|
|
await syncGetCollection.rescheduleImmediately() |
|
|
|
|
} else { |
|
|
|
|
let getSyncData = GetSyncData() |
|
|
|
|
getSyncData.lastUpdate = lastSync |
|
|
|
|
|