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

pull/1/head
Russ Shanahan 9 years ago committed by Michael Kirk
parent b40f6acd01
commit 087f753979

@ -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];
}
}

Loading…
Cancel
Save