SHARE
TWEET

Untitled

a guest May 19th, 2017 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [2] $ diff InsightsTableViewController.m ~/src/WordPressCom-Stats-iOS/WordPressCom-Stats-iOS/UI/InsightsTableViewController.m -u           ✘∞ ∞
  2. --- InsightsTableViewController.m   2017-05-19 09:23:22.000000000 -0500
  3. +++ /Users/aaron/src/WordPressCom-Stats-iOS/WordPressCom-Stats-iOS/UI/InsightsTableViewController.m 2016-12-14 11:16:23.000000000 -0600
  4. @@ -1149,20 +1149,11 @@
  5.       {
  6.           if (summary) {
  7.               weakSelf.sectionData[@(StatsSectionInsightsTodaysStats)] = summary;
  8. -             summary.views = @"65";
  9. -             summary.visitors = @"58";
  10. -             summary.likes = @"12";
  11. -             summary.comments = @"3";
  12.           }
  13.       }
  14.                                             latestPostSummaryCompletionHandler:^(StatsLatestPostSummary *summary, NSError *error)
  15.       {
  16.           weakSelf.sectionData[@(StatsSectionInsightsLatestPostSummary)] = summary;
  17. -         summary.views = @"20";
  18. -         summary.likes = @"3";
  19. -         summary.comments = @"1";
  20. -         summary.postAge = [NSString stringWithFormat:NSLocalizedString(@"%d days", @"Age between dates over one day."), 2];
  21. -
  22.           [weakSelf.tableView beginUpdates];
  23.          
  24.           NSUInteger sectionNumber = [weakSelf.sections indexOfObject:@(StatsSectionInsightsLatestPostSummary)];
RAW Paste Data
Top