Created
September 5, 2016 14:50
-
-
Save frosty/7898522999e750d367e577685b35df38 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/WordPress/Classes/ViewRelated/Blog/BlogDetailsViewController.m b/WordPress/Classes/ViewRelated/Blog/BlogDetailsViewController.m | |
index 2857058..06eab07 100644 | |
--- a/WordPress/Classes/ViewRelated/Blog/BlogDetailsViewController.m | |
+++ b/WordPress/Classes/ViewRelated/Blog/BlogDetailsViewController.m | |
@@ -712,7 +712,12 @@ - (void)showStats | |
StatsViewController *statsView = [StatsViewController new]; | |
statsView.blog = self.blog; | |
statsView.statsService = self.statsService; | |
- [self showDetailViewController:statsView sender:self]; | |
+ | |
+ if (self.splitViewController.isCollapsed) { | |
+ [self.navigationController pushViewController:statsView animated:YES]; | |
+ } else { | |
+ [self showDetailViewController:statsView sender:self]; | |
+ } | |
} | |
- (void)showThemes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment