summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Juick/AppDelegate.m4
-rw-r--r--Juick/Supporting Files/Juick-Info.plist2
-rw-r--r--Juick/ViewControllers/DiscoverViewController.m7
3 files changed, 5 insertions, 8 deletions
diff --git a/Juick/AppDelegate.m b/Juick/AppDelegate.m
index cb3b19e..b376052 100644
--- a/Juick/AppDelegate.m
+++ b/Juick/AppDelegate.m
@@ -85,6 +85,10 @@
NSDictionary *userInfo = response.notification.request.content.userInfo;
NSLog(@"User Info : %@", userInfo);
[self parseNotificationPayload:userInfo];
+ UITabBarController *main = (UITabBarController *)self.window.rootViewController;
+ [main setSelectedIndex:0];
+ UINavigationController *discover = (UINavigationController *)[main.viewControllers objectAtIndex:0];
+ [discover performSegueWithIdentifier:@"threadViewSegue" sender:discover];
completionHandler();
}
diff --git a/Juick/Supporting Files/Juick-Info.plist b/Juick/Supporting Files/Juick-Info.plist
index 1a40853..6c2cf43 100644
--- a/Juick/Supporting Files/Juick-Info.plist
+++ b/Juick/Supporting Files/Juick-Info.plist
@@ -21,7 +21,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
- <string>54</string>
+ <string>55</string>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<key>LSApplicationCategoryType</key>
diff --git a/Juick/ViewControllers/DiscoverViewController.m b/Juick/ViewControllers/DiscoverViewController.m
index e94d673..483c5e2 100644
--- a/Juick/ViewControllers/DiscoverViewController.m
+++ b/Juick/ViewControllers/DiscoverViewController.m
@@ -47,13 +47,6 @@ AppDelegate *appDelegate;
}
appDelegate = (AppDelegate *) [UIApplication sharedApplication].delegate;
}
--(void) viewDidAppear:(BOOL)animated {
- [super viewDidAppear:animated];
-
- if (appDelegate.pushedThread != nil) {
- [self performSegueWithIdentifier:@"threadViewSegue" sender:self];
- }
-}
-(void) tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
NSString * cellIdentifier = @"messageCell";