From 00b6e836fa13d8170ae223c2e7327b2064e2cb42 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Wed, 15 Sep 2010 09:09:47 +0000 Subject: [PATCH 1/1] Remove Disk Using/Freeing. --- Cydia.app/confirm.html | 5 ----- Cydia.app/confirm.js | 13 ------------- Cydia.mm | 1 - 3 files changed, 19 deletions(-) diff --git a/Cydia.app/confirm.html b/Cydia.app/confirm.html index 335a3267..f5c2c90b 100644 --- a/Cydia.app/confirm.html +++ b/Cydia.app/confirm.html @@ -26,11 +26,6 @@ - -
- - -
diff --git a/Cydia.app/confirm.js b/Cydia.app/confirm.js index ba2e2e5d..5ef99bf4 100644 --- a/Cydia.app/confirm.js +++ b/Cydia.app/confirm.js @@ -13,19 +13,6 @@ $(function () { $(".resuming").remove(); else $("#resuming").html($.xml(resuming)); - - var size = sizes[2]; - var negative; - - if (size.charAt(0) != '-') - negative = false; - else { - negative = true; - size = size.substr(1); - } - - $("#disk-key").html(cydia.localize(negative ? "DISK_FREEING" : "DISK_USING")); - $("#disk-value").html($.xml(size)); } else for (var i = 0; i != issues.length; ++i) { document.title = cydia.localize("CANNOT_COMPLY"); diff --git a/Cydia.mm b/Cydia.mm index 06c82184..836d8400 100644 --- a/Cydia.mm +++ b/Cydia.mm @@ -4138,7 +4138,6 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { sizes_ = [[NSArray alloc] initWithObjects: SizeString([database_ fetcher].FetchNeeded()), SizeString([database_ fetcher].PartialPresent()), - SizeString([database_ cache]->UsrSize()), nil]; [self loadURL:[NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"confirm" ofType:@"html"]]]; -- 2.47.2