From: Jay Freeman (saurik) Date: Fri, 25 Mar 2011 08:55:03 +0000 (-0700) Subject: Do not refresh after deleting a source. X-Git-Tag: v1.1.0%rc1~5 X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/392ff7e4f92780aa04763d3f178ae30c76485c9e Do not refresh after deleting a source. --- diff --git a/MobileCydia.mm b/MobileCydia.mm index e879c9be..370fd173 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -879,6 +879,7 @@ static NSString *CYHex(NSData *data, bool reverse = false) { - (void) distUpgrade; - (void) loadData; - (void) updateData; +- (void) _saveConfig; - (void) syncData; - (void) addSource:(NSDictionary *)source; - (void) addTrivialSource:(NSString *)href; @@ -8636,7 +8637,8 @@ static void HomeControllerReachabilityCallback(SCNetworkReachabilityRef reachabi if (editingStyle == UITableViewCellEditingStyleDelete) { Source *source = [self sourceAtIndexPath:indexPath]; [Sources_ removeObjectForKey:[source key]]; - [delegate_ syncData]; + [delegate_ reloadDataWithInvocation:nil]; + [delegate_ _saveConfig]; } }