summary refs log tree commit diff stats
path: root/Classes/HighscoreListController.m
diff options
context:
space:
mode:
Diffstat (limited to 'Classes/HighscoreListController.m')
-rwxr-xr-xClasses/HighscoreListController.m13
1 files changed, 9 insertions, 4 deletions
diff --git a/Classes/HighscoreListController.m b/Classes/HighscoreListController.m index 4d108e4..932b147 100755 --- a/Classes/HighscoreListController.m +++ b/Classes/HighscoreListController.m
@@ -7,7 +7,11 @@
7// 7//
8 8
9#import "HighscoreListController.h" 9#import "HighscoreListController.h"
10 10#import "Highscore.h"
11#import "RootViewController.h"
12#import "cocoslive.h"
13#import <sqlite3.h>
14#import "Cart_CollectAppDelegate.h"
11 15
12@implementation HighscoreListController 16@implementation HighscoreListController
13 17
@@ -290,9 +294,10 @@
290 294
291- (void)back 295- (void)back
292{ 296{
293 RootViewController* viewController = [[[UIApplication sharedApplication] delegate] viewController]; 297 Cart_CollectAppDelegate* appDelegate = ((Cart_CollectAppDelegate*) [[UIApplication sharedApplication] delegate]);
294 [[[[UIApplication sharedApplication] delegate] window] setRootViewController:nil]; 298 RootViewController* viewController = [appDelegate viewController];
295 [[[[UIApplication sharedApplication] delegate] window] addSubview:viewController.view]; 299 [[appDelegate window] setRootViewController:nil];
300 [[appDelegate window] addSubview:viewController.view];
296} 301}
297 302
298- (void)switchLists:(id)sender 303- (void)switchLists:(id)sender