summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r--MobileCydia.mm13
1 files changed, 10 insertions, 3 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index e2c4b25..0afba59 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -5225,6 +5225,10 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
[super viewWillAppear:animated];
}
+- (void) reloadSpringBoard {
+ system("/usr/bin/sbreload");
+}
+
- (void) close {
UpdateExternalStatus(0);
@@ -5252,10 +5256,13 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
_trace();
goto reload;
- reload:
- system("/usr/bin/sbreload");
+ reload: {
+ UIProgressHUD *hud([delegate_ addProgressHUD]);
+ [hud setText:UCLocalize("LOADING")];
+ [self yieldToSelector:@selector(reloadSpringBoard)];
+ [delegate_ removeProgressHUD:hud];
_trace();
- break;
+ } break;
case 4:
_trace();