summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MobileCydia.mm8
1 files changed, 4 insertions, 4 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 368f629..e97f3dc 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -6803,12 +6803,12 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
} return;
}
- UINavigationController *navigation([[[UINavigationController alloc] init] autorelease]);
- [navigation setViewControllers:[NSArray arrayWithObject:transient]];
- transient = navigation;
-
NSMutableArray *controllers = [[self viewControllers] mutableCopy];
if (transient != nil) {
+ UINavigationController *navigation([[[UINavigationController alloc] init] autorelease]);
+ [navigation setViewControllers:[NSArray arrayWithObject:transient]];
+ transient = navigation;
+
if (transient_ == nil)
remembered_ = [controllers objectAtIndex:0];
transient_ = transient;