summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MobileCydia.mm9
1 files changed, 1 insertions, 8 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 7a99e2f..76f8fef 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -4233,7 +4233,6 @@ static _H<NSMutableSet> Diversions_;
/* }}} */
/* Emulated Loading Controller {{{ */
@interface CYEmulatedLoadingController : CyteViewController {
- _transient Database *database_;
_H<CYLoadingIndicator> indicator_;
_H<UITabBar> tabbar_;
_H<UINavigationBar> navbar_;
@@ -4243,12 +4242,6 @@ static _H<NSMutableSet> Diversions_;
@implementation CYEmulatedLoadingController
-- (id) initWithDatabase:(Database *)database {
- if ((self = [super init]) != nil) {
- database_ = database;
- } return self;
-}
-
- (void) loadView {
[self setView:[[[UIView alloc] initWithFrame:[[UIScreen mainScreen] applicationFrame]] autorelease]];
@@ -9351,7 +9344,7 @@ _trace();
[window_ setUserInteractionEnabled:NO];
[self setupViewControllers];
- emulated_ = [[[CYEmulatedLoadingController alloc] initWithDatabase:database_] autorelease];
+ emulated_ = [[[CYEmulatedLoadingController alloc] init] autorelease];
[window_ addSubview:[emulated_ view]];
[self performSelector:@selector(loadData) withObject:nil afterDelay:0];