@@ -213,7 +213,6 @@ - (instancetype)initWithTitle:(NSString *)title
213213
214214@interface BlogDetailsViewController () <UIActionSheetDelegate, UIAlertViewDelegate, WPSplitViewControllerDetailProvider, BlogDetailHeaderViewDelegate, UITableViewDelegate, UITableViewDataSource>
215215
216- @property (nonatomic , strong , readwrite ) BlogDetailHeaderView *headerView;
217216@property (nonatomic , strong ) NSArray *headerViewHorizontalConstraints;
218217@property (nonatomic , strong ) NSArray <BlogDetailsSection *> *tableSections;
219218@property (nonatomic , strong ) BlogService *blogService;
@@ -407,8 +406,6 @@ - (void)viewWillAppear:(BOOL)animated
407406
408407 self.navigationItem .title = NSLocalizedString(@" My Site" , @" Title of My Site tab" );
409408
410- [self .headerView setBlog: self .blog];
411-
412409 // Configure and reload table data when appearing to ensure pending comment count is updated
413410 [self configureTableViewData ];
414411
@@ -1079,7 +1076,6 @@ - (BOOL)shouldDisplayLinkToWPAdmin
10791076
10801077- (void )switchToBlog : (Blog*)blog
10811078{
1082- self.headerView .blog = blog;
10831079 self.blog = blog;
10841080 [self showInitialDetailsForBlog ];
10851081 [self .tableView reloadData ];
@@ -1728,7 +1724,6 @@ - (void)updateTableViewAndHeader:(void(^)(void))onComplete
17281724 ^{
17291725 [weakSelf configureTableViewData ];
17301726 [weakSelf reloadTableViewPreservingSelection ];
1731- [weakSelf.headerView setBlog: weakSelf.blog];
17321727 onComplete ();
17331728 }];
17341729}
0 commit comments