summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-02-28 05:28:01 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-07 02:41:26 -0800
commita54fed5bf5841570a19404451fb18e7c69ea532f (patch)
tree3874c6e77d2418c96316ca6da788289ab01c512a /MobileCydia.mm
parent4e89e88014a46af14f9eb348844e4c674bfba64d (diff)
Consistently use -[Cydia showSettings].
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r--MobileCydia.mm8
1 files changed, 2 insertions, 6 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 64c388c..f5ced7b 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -9397,11 +9397,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
}
- (void) showSettings {
- SettingsController *role = [[[SettingsController alloc] initWithDatabase:database_ delegate:self] autorelease];
- CYNavigationController *nav = [[[CYNavigationController alloc] initWithRootViewController:role] autorelease];
- if (IsWildcat_)
- [nav setModalPresentationStyle:UIModalPresentationFormSheet];
- [tabbar_ presentModalViewController:nav animated:YES];
+ [self presentModalViewController:[[[SettingsController alloc] initWithDatabase:database_ delegate:self] autorelease] force:NO];
}
- (void) retainNetworkActivityIndicator {
@@ -9881,7 +9877,7 @@ _trace();
_trace();
if (Role_ == nil) {
[window_ setUserInteractionEnabled:YES];
- [self presentModalViewController:[[[SettingsController alloc] initWithDatabase:database_ delegate:self] autorelease] force:NO];
+ [self showSettings];
return;
} else {
if ([emulated_ modalViewController] != nil)