From 7ef12b194570ab105a6441f58b6b2e1ec27027e1 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Sun, 8 Apr 2018 10:48:46 +0300 Subject: remove alpha channel from splash and notifications fixes --- Juick/AppDelegate.m | 5 +---- Juick/Splash.png | Bin 1216 -> 1479 bytes Juick/Splash@2x.png | Bin 2669 -> 2770 bytes Juick/Splash@3x.png | Bin 4657 -> 4298 bytes Juick/Supporting Files/Juick-Info.plist | 2 +- Juick/ViewControllers/DiscoverViewController.m | 4 ++++ 6 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Juick/AppDelegate.m b/Juick/AppDelegate.m index 202ac82..cb3b19e 100644 --- a/Juick/AppDelegate.m +++ b/Juick/AppDelegate.m @@ -30,6 +30,7 @@ //[[UINavigationBar appearance] setBarTintColor:[ColorScheme headerBackground]]; [[UINavigationBar appearance] setTitleTextAttributes:@{NSForegroundColorAttributeName: [ColorScheme linkColor]}]; [[UIToolbar appearance] setTintColor:[ColorScheme linkColor]]; + [[UITabBar appearance] setTintColor:[ColorScheme linkColor]]; [UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleDefault; if ([[NSUserDefaults standardUserDefaults] objectForKey:@"FirstRun"] == nil) { @@ -84,10 +85,6 @@ 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/Splash.png b/Juick/Splash.png index c5d9d60..0143a05 100644 Binary files a/Juick/Splash.png and b/Juick/Splash.png differ diff --git a/Juick/Splash@2x.png b/Juick/Splash@2x.png index 166a664..041b092 100644 Binary files a/Juick/Splash@2x.png and b/Juick/Splash@2x.png differ diff --git a/Juick/Splash@3x.png b/Juick/Splash@3x.png index 3ef7388..a7b0e90 100644 Binary files a/Juick/Splash@3x.png and b/Juick/Splash@3x.png differ diff --git a/Juick/Supporting Files/Juick-Info.plist b/Juick/Supporting Files/Juick-Info.plist index 1a89f8e..1a40853 100644 --- a/Juick/Supporting Files/Juick-Info.plist +++ b/Juick/Supporting Files/Juick-Info.plist @@ -21,7 +21,7 @@ CFBundleSignature ???? CFBundleVersion - 52 + 54 ITSAppUsesNonExemptEncryption LSApplicationCategoryType diff --git a/Juick/ViewControllers/DiscoverViewController.m b/Juick/ViewControllers/DiscoverViewController.m index 3b01297..e94d673 100644 --- a/Juick/ViewControllers/DiscoverViewController.m +++ b/Juick/ViewControllers/DiscoverViewController.m @@ -46,6 +46,10 @@ AppDelegate *appDelegate; [self refreshData:NO]; } appDelegate = (AppDelegate *) [UIApplication sharedApplication].delegate; +} +-(void) viewDidAppear:(BOOL)animated { + [super viewDidAppear:animated]; + if (appDelegate.pushedThread != nil) { [self performSegueWithIdentifier:@"threadViewSegue" sender:self]; } -- cgit v1.2.3