2
0

Handle StoreUUID conflicts and new (offline) devices.

This commit is contained in:
Maarten Billemont 2013-11-07 22:03:34 -05:00
parent 396f6fa7bd
commit 28460d4576
2 changed files with 9 additions and 1 deletions

@ -1 +1 @@
Subproject commit 51bcfb691ed906fcbbec4e020234fdbef21a2288 Subproject commit 805459de9352f74b001811a865ade7a28bd40742

View File

@ -746,6 +746,14 @@
} ); } );
} }
- (void)ubiquityStoreManager:(UbiquityStoreManager *)manager failedLoadingStoreWithCause:(UbiquityStoreErrorCause)cause context:(id)context
wasCloud:(BOOL)wasCloudStore {
dispatch_async( dispatch_get_main_queue(), ^{
[self.storeLoading cancelOverlayAnimated:YES];
} );
}
- (BOOL)ubiquityStoreManager:(UbiquityStoreManager *)manager handleCloudContentCorruptionWithHealthyStore:(BOOL)storeHealthy { - (BOOL)ubiquityStoreManager:(UbiquityStoreManager *)manager handleCloudContentCorruptionWithHealthyStore:(BOOL)storeHealthy {
if (manager.cloudEnabled && !storeHealthy && !([self.handleCloudContentAlert.alertView isVisible] || [self.fixCloudContentAlert.alertView isVisible])) if (manager.cloudEnabled && !storeHealthy && !([self.handleCloudContentAlert.alertView isVisible] || [self.fixCloudContentAlert.alertView isVisible]))