summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r--MobileCydia.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 392c173..42d9dc3 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -6223,7 +6223,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
[page reloadData];
}
- [(CYNavigationController *) [self transientViewController] reloadData];
+ [(CYNavigationController *)[self transientViewController] reloadData];
}
- (id) initWithDatabase:(Database *)database {
@@ -8538,7 +8538,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
CYNavigationController *controller = (CYNavigationController *) viewController;
if ([[controller viewControllers] count] == 0) {
- int index = [tabbar_ selectedIndex];
+ int index = [[tabbar_ viewControllers] indexOfObjectIdenticalTo:controller];
CYViewController *root = nil;
if (index == 0)