Voiceover fix- Do not read "no messages" text when it's hidden (#1437) FREEBIE

This commit is contained in:
Russ Shanahan 2016-11-14 13:31:24 -05:00 committed by Michael Kirk
parent b40f6acd01
commit 087f753979
1 changed files with 3 additions and 0 deletions

View File

@ -556,6 +556,7 @@
- (void)checkIfEmptyView {
[_tableView setHidden:NO];
[_emptyBoxLabel setHidden:NO];
if (self.viewingThreadsIn == kInboxState && [self.threadMappings numberOfItemsInGroup:TSInboxGroup] == 0) {
[self setEmptyBoxText];
[_tableView setHidden:YES];
@ -563,6 +564,8 @@
[self.threadMappings numberOfItemsInGroup:TSArchiveGroup] == 0) {
[self setEmptyBoxText];
[_tableView setHidden:YES];
} else {
[_emptyBoxLabel setHidden:YES];
}
}