Disable cloudSwitch when iCloud is unavailable.
This commit is contained in:
parent
2d6a298095
commit
126c962a98
@ -26,6 +26,8 @@
|
|||||||
|
|
||||||
[super viewDidAppear:animated];
|
[super viewDidAppear:animated];
|
||||||
|
|
||||||
|
self.cloudSwitch.enabled = [[MPAppDelegate_Shared get].storeManager cloudAvailable];
|
||||||
|
|
||||||
if (self.cloudSwitch && [[MPiOSConfig get].iCloudDecided boolValue])
|
if (self.cloudSwitch && [[MPiOSConfig get].iCloudDecided boolValue])
|
||||||
self.cloudSwitch.on = [[MPiOSConfig get].iCloudEnabled boolValue];
|
self.cloudSwitch.on = [[MPiOSConfig get].iCloudEnabled boolValue];
|
||||||
if (self.rememberLoginSwitch)
|
if (self.rememberLoginSwitch)
|
||||||
|
Loading…
Reference in New Issue
Block a user