aboutsummaryrefslogtreecommitdiffhomepage
path: root/example/ios/iOS UI Test/iOS UI Test/MasterViewController.m
diff options
context:
space:
mode:
Diffstat (limited to 'example/ios/iOS UI Test/iOS UI Test/MasterViewController.m')
-rw-r--r--example/ios/iOS UI Test/iOS UI Test/MasterViewController.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/example/ios/iOS UI Test/iOS UI Test/MasterViewController.m b/example/ios/iOS UI Test/iOS UI Test/MasterViewController.m
index 493c8e5b..bf72733e 100644
--- a/example/ios/iOS UI Test/iOS UI Test/MasterViewController.m
+++ b/example/ios/iOS UI Test/iOS UI Test/MasterViewController.m
@@ -80,7 +80,7 @@
NSLog(@"fetched all messages.");
NSSortDescriptor *sort = [NSSortDescriptor sortDescriptorWithKey:@"header.date" ascending:NO];
- strongSelf.messages = [messages sortedArrayUsingDescriptors:@[sort]];//[NSArray arrayWithArray:messages];
+ strongSelf.messages = [messages sortedArrayUsingDescriptors:@[sort]];
[strongSelf.tableView reloadData];
}];
}
@@ -135,6 +135,7 @@
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
MCOIMAPMessage *msg = self.messages[indexPath.row];
MCTMsgViewController *vc = [[MCTMsgViewController alloc] init];
+ vc.folder = @"INBOX";
vc.message = msg;
vc.session = self.imapSession;
[self.navigationController pushViewController:vc animated:YES];