Respond to CR.

// FREEBIE
pull/1/head
Matthew Chen 8 years ago
parent b6264383d3
commit d36e60b0e9

@ -3319,10 +3319,6 @@ typedef enum : NSUInteger {
// may need to extend the mapping's contents to reflect the current
// range.
[self updateMessageMappingRangeOptions];
[self.uiDatabaseConnection readWithBlock:^(YapDatabaseReadTransaction *transaction) {
[self.messageMappings updateWithTransaction:transaction];
}];
[self resetContentAndLayout];
return;

@ -873,12 +873,9 @@ typedef NS_ENUM(NSInteger, CellState) { kArchiveState, kInboxState };
// We want this regardless of if we're currently viewing the archive.
// So we run it before the early return
[self updateInboxCountLabel];
[self checkIfEmptyView];
if ([sectionChanges count] == 0 && [rowChanges count] == 0) {
[self.uiDatabaseConnection readWithBlock:^(YapDatabaseReadTransaction *transaction) {
[self.threadMappings updateWithTransaction:transaction];
}];
[self checkIfEmptyView];
return;
}
@ -932,7 +929,6 @@ typedef NS_ENUM(NSInteger, CellState) { kArchiveState, kInboxState };
}
[self.tableView endUpdates];
[self checkIfEmptyView];
}
- (void)checkIfEmptyView {

Loading…
Cancel
Save