2
0

Disable cloudSwitch when iCloud is unavailable.

This commit is contained in:
Maarten Billemont 2014-06-21 23:04:56 -04:00
parent 2d6a298095
commit 126c962a98

View File

@ -26,6 +26,8 @@
[super viewDidAppear:animated];
self.cloudSwitch.enabled = [[MPAppDelegate_Shared get].storeManager cloudAvailable];
if (self.cloudSwitch && [[MPiOSConfig get].iCloudDecided boolValue])
self.cloudSwitch.on = [[MPiOSConfig get].iCloudEnabled boolValue];
if (self.rememberLoginSwitch)