Closed NorbNorb closed 10 years ago
The following code block taken from the current revision reloads the store twice (code summary):
- (void)setCloudEnabled:(BOOL)enabled { ... [[NSUserDefaults standardUserDefaults] setBool:enabled forKey:USMCloudEnabledKey]; [self reloadStore]; } - (void)userDefaultsDidChange:(NSNotification *)note { if (self.cloudWasEnabled != self.cloudEnabled) [self reloadStore]; }
Is this intended?
No, that is unintended. If the store is reloaded twice there, the top reloadStore should be removed.
Thanks for your reply! Will you fix this in your source?
Should be fixed by ef9aa1c
The following code block taken from the current revision reloads the store twice (code summary):
Is this intended?