Fixed a crash on enumerateCloudStores if iCloud is disabled.
This commit is contained in:
parent
b1daeaf8ed
commit
6345899783
2
External/UbiquityStoreManager
vendored
2
External/UbiquityStoreManager
vendored
@ -1 +1 @@
|
||||
Subproject commit c02affe877a6de49bbe4055b8dceed52613f4e12
|
||||
Subproject commit 5e38f25f6e058cc52b8e41bcdc183b7966bb3ac7
|
@ -107,8 +107,10 @@
|
||||
- (void)switchCloudStore {
|
||||
|
||||
NSDictionary *cloudStores = [[MPiOSAppDelegate get].storeManager enumerateCloudStores];
|
||||
if (!cloudStores)
|
||||
if (!cloudStores) {
|
||||
wrn( @"Failed enumerating cloud stores." );
|
||||
return;
|
||||
}
|
||||
|
||||
NSString *currentStoreUUID = nil;
|
||||
NSMutableDictionary *stores = [NSMutableDictionary dictionary];
|
||||
|
Loading…
Reference in New Issue
Block a user