summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-03-25 01:55:03 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-25 01:55:06 -0700
commit392ff7e4f92780aa04763d3f178ae30c76485c9e (patch)
tree72893cde0ca0d3a07848c02df3b895ba691d1d3a
parentd8ac8af712820bcecf08a928a3f04753a4c9631e (diff)
Do not refresh after deleting a source.
-rw-r--r--MobileCydia.mm4
1 files changed, 3 insertions, 1 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index e879c9b..370fd17 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];
}
}