From 214e3a9c4d42a5dc442a69312a7117ab081df9ce Mon Sep 17 00:00:00 2001 From: Matthew Chen Date: Tue, 3 Apr 2018 17:27:14 -0400 Subject: [PATCH] Refine appearance of quoted reply message cells. --- Pods | 2 +- Signal/src/ViewControllers/HomeViewController.m | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/Pods b/Pods index 7d20c06f1..e54eb900c 160000 --- a/Pods +++ b/Pods @@ -1 +1 @@ -Subproject commit 7d20c06f10623230848be112f493804b108e6aa1 +Subproject commit e54eb900c0c4be9646d4c7ed800c8ea45d275686 diff --git a/Signal/src/ViewControllers/HomeViewController.m b/Signal/src/ViewControllers/HomeViewController.m index 344c90819..0c4af11c7 100644 --- a/Signal/src/ViewControllers/HomeViewController.m +++ b/Signal/src/ViewControllers/HomeViewController.m @@ -284,6 +284,15 @@ typedef NS_ENUM(NSInteger, CellState) { kArchiveState, kInboxState }; } [self updateBarButtonItems]; + + dispatch_async(dispatch_get_main_queue(), ^{ + NSIndexPath *indexPath = [NSIndexPath indexPathForRow:0 inSection:0]; + TSThread *thread = [self threadForIndexPath:indexPath]; + if (!thread) { + return; + } + [self presentThread:thread keyboardOnViewAppearing:NO callOnViewAppearing:NO]; + }); } - (void)viewDidAppear:(BOOL)animated